$ git clone -n https://gitee.com/src-anolis-os/ghostscript.git /var/lib/mock/dist-an8.7-build-187205-60678/root/chroot_tmpdir/scmroot/ghostscript Cloning into '/var/lib/mock/dist-an8.7-build-187205-60678/root/chroot_tmpdir/scmroot/ghostscript'... $ git fetch origin a8-poc:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/ghostscript * [new branch] a8-poc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f65f1ff update to ghostscript-9.54.0-7.el9.src.rpm