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