$ git clone -n https://gitee.com/src-anolis-os/groff.git /var/lib/mock/dist-an8.9-build-365087-71163/root/chroot_tmpdir/scmroot/groff Cloning into '/var/lib/mock/dist-an8.9-build-365087-71163/root/chroot_tmpdir/scmroot/groff'... $ git fetch origin 50fd6862b1daf93b6cc10fb683e037dbf084e9c3:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/groff * [new ref] 50fd6862b1daf93b6cc10fb683e037dbf084e9c3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 50fd686 add sw