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