$ git clone -n https://gitee.com/zhoujiajia111/ghostscript.git /var/lib/mock/dist-an23.3-build-430119-73043/root/chroot_tmpdir/scmroot/ghostscript Cloning into '/var/lib/mock/dist-an23.3-build-430119-73043/root/chroot_tmpdir/scmroot/ghostscript'... $ git fetch origin 2714ca6a5698a30132fb15dc5caab6307ae0332b:KOJI_FETCH_HEAD From https://gitee.com/zhoujiajia111/ghostscript * [new ref] 2714ca6a5698a30132fb15dc5caab6307ae0332b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2714ca6 update ghostscript.spec.