$ git clone -n https://gitee.com/src-opencloudos-rpms/gcc /var/lib/mock/dist-oc8-build-31810-9241/root/chroot_tmpdir/scmroot/gcc Cloning into '/var/lib/mock/dist-oc8-build-31810-9241/root/chroot_tmpdir/scmroot/gcc'... $ git reset --hard origin/oc8 HEAD is now at 026b076 import gcc-8.5.0-15.tl3