$ git clone -n https://gitee.com/src-opencloudos-rpms/ghostscript.git /var/lib/mock/dist-oc9-build-81514-55290/root/chroot_tmpdir/scmroot/ghostscript Cloning into '/var/lib/mock/dist-oc9-build-81514-55290/root/chroot_tmpdir/scmroot/ghostscript'... $ git fetch origin b1f715016daa7d323dc49b8dfe3bf3b6c9291d83:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/ghostscript * [new ref] b1f715016daa7d323dc49b8dfe3bf3b6c9291d83 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b1f7150 import ghostscript-10.02.1-4.tl4