$ git clone -n https://gitee.com/src-anolis-os/byacc.git /var/lib/mock/dist-an23.3-build-421473-72906/root/chroot_tmpdir/scmroot/byacc Cloning into '/var/lib/mock/dist-an23.3-build-421473-72906/root/chroot_tmpdir/scmroot/byacc'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/byacc * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b982462 update to byacc-2.0.20230521