$ git clone -n https://gitee.com/fundawang/ghostscript.git /var/lib/mock/dist-an23-build-238221-62846/root/chroot_tmpdir/scmroot/ghostscript Cloning into '/var/lib/mock/dist-an23-build-238221-62846/root/chroot_tmpdir/scmroot/ghostscript'... $ git reset --hard f06bad85f1f63a110b7ab314fad9ecd9c69f52a0 HEAD is now at f06bad8 10.01.0