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