$ git clone -n https://gitee.com/src-opencloudos-rpms/git.git /var/lib/mock/dist-oc8-build-34915-11334/root/chroot_tmpdir/scmroot/git Cloning into '/var/lib/mock/dist-oc8-build-34915-11334/root/chroot_tmpdir/scmroot/git'... $ git reset --hard origin/oc8 HEAD is now at 7e8ac2f import git-2.31.1-3.tl3