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