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