$ git clone -n https://gitee.com/src-anolis-os/sac.git /var/lib/mock/dist-an8.8-build-289603-64968/root/chroot_tmpdir/scmroot/sac Cloning into '/var/lib/mock/dist-an8.8-build-289603-64968/root/chroot_tmpdir/scmroot/sac'... $ git fetch origin b5bf9587d22f46ec66fcc9db618d3fc7c8532ea2:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/sac * [new ref] b5bf9587d22f46ec66fcc9db618d3fc7c8532ea2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b5bf958 update to sac-1.3-30.el8.src.rpm