$ git clone -n https://gitee.com/src-anolis-os/ghostscript.git /var/lib/mock/dist-an8.7-build-236890-62522/root/chroot_tmpdir/scmroot/ghostscript Cloning into '/var/lib/mock/dist-an8.7-build-236890-62522/root/chroot_tmpdir/scmroot/ghostscript'... $ git reset --hard f65f1ffee508d818ae8b8638dcbb3557a237a25c HEAD is now at f65f1ff update to ghostscript-9.54.0-7.el9.src.rpm