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