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