$ git clone -n https://gitee.com/src-opencloudos-rpms/git.git /var/lib/mock/dist-oc8-build-38296-12367/root/chroot_tmpdir/scmroot/git Cloning into '/var/lib/mock/dist-oc8-build-38296-12367/root/chroot_tmpdir/scmroot/git'... $ git reset --hard origin/oc8 HEAD is now at ea22df7 import git-2.39.3-1.tl3