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