$ git clone -n https://gitee.com/fundawang/ghostscript.git /var/lib/mock/dist-an23-build-235664-62777/root/chroot_tmpdir/scmroot/ghostscript Cloning into '/var/lib/mock/dist-an23-build-235664-62777/root/chroot_tmpdir/scmroot/ghostscript'... $ git reset --hard fb6f30826554a6539eafc306b09d7c1f1ad5df97 HEAD is now at fb6f308 update file list