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