$ git clone -n https://gitee.com/src-opencloudos-rpms/file /var/lib/mock/dist-oc8-build-32139-9657/root/chroot_tmpdir/scmroot/file Cloning into '/var/lib/mock/dist-oc8-build-32139-9657/root/chroot_tmpdir/scmroot/file'... $ git reset --hard origin/oc8 HEAD is now at 9f3b5d1 import file-5.33-21.tl3