$ git clone -n https://gitee.com/src-opencloudos-rpms/git.git /var/lib/mock/dist-oc9-build-73974-49385/root/chroot_tmpdir/scmroot/git Cloning into '/var/lib/mock/dist-oc9-build-73974-49385/root/chroot_tmpdir/scmroot/git'... $ git fetch origin ece2a5ba67f95c318ed75b6df2ad1ee0f0aeebb5:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/git * [new ref] ece2a5ba67f95c318ed75b6df2ad1ee0f0aeebb5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ece2a5b import git-2.41.1-1.tl4