$ git clone -n https://gitee.com/src-opencloudos-rpms/ghostscript.git /var/lib/mock/dist-oc8-build-81273-54964/root/chroot_tmpdir/scmroot/ghostscript Cloning into '/var/lib/mock/dist-oc8-build-81273-54964/root/chroot_tmpdir/scmroot/ghostscript'... $ git fetch origin c40cc0344fc36a683a1a684d742bad084be8dc3a:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/ghostscript * [new ref] c40cc0344fc36a683a1a684d742bad084be8dc3a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c40cc03 import ghostscript-9.27-13.tl3