$ git clone -n https://gitee.com/zhoujiajia111/ghostscript.git /var/lib/mock/dist-an23.2-build-430817-73034/root/chroot_tmpdir/scmroot/ghostscript Cloning into '/var/lib/mock/dist-an23.2-build-430817-73034/root/chroot_tmpdir/scmroot/ghostscript'... $ git fetch origin e779e9c55391bb3b99312ab16091dee0ec829261:KOJI_FETCH_HEAD From https://gitee.com/zhoujiajia111/ghostscript * [new ref] e779e9c55391bb3b99312ab16091dee0ec829261 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e779e9c update ghostscript.spec.