$ git clone -n https://gitee.com/src-opencloudos-rpms/git.git /var/lib/mock/dist-oc8-build-81467-55157/root/chroot_tmpdir/scmroot/git Cloning into '/var/lib/mock/dist-oc8-build-81467-55157/root/chroot_tmpdir/scmroot/git'... $ git fetch origin 2697de1cc298a3dc76fab2f5e9eac92b15d66c56:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/git * [new ref] 2697de1cc298a3dc76fab2f5e9eac92b15d66c56 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2697de1 import git-2.43.5-1.tl3