$ git clone -n https://gitee.com/src-anolis-os/fontforge.git /var/lib/mock/dist-an8.7-build-187241-60680/root/chroot_tmpdir/scmroot/fontforge Cloning into '/var/lib/mock/dist-an8.7-build-187241-60680/root/chroot_tmpdir/scmroot/fontforge'... $ git fetch origin a8:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/fontforge * [new branch] a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8630af9 Rebuild