$ git clone -n https://gitee.com/fundawang/ghostscript.git /var/lib/mock/dist-an23-build-301235-65963/root/chroot_tmpdir/scmroot/ghostscript Cloning into '/var/lib/mock/dist-an23-build-301235-65963/root/chroot_tmpdir/scmroot/ghostscript'... $ git reset --hard f77b64bdddf4650e2a1a29731c451ff09bf6e0bb HEAD is now at f77b64b 10.02.0