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