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