$ git clone -n https://gitee.com/src-anolis-os/haproxy.git /mnt/mock/kojid//dist-an23.3-riscv-build-436401-73130/root/chroot_tmpdir/scmroot/haproxy Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-436401-73130/root/chroot_tmpdir/scmroot/haproxy'... $ git fetch origin 3d37e7f774c9fa8713740ea7547ab566d0ab1600:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/haproxy * [new ref] 3d37e7f774c9fa8713740ea7547ab566d0ab1600 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3d37e7f update to 3.0.5 from 2.7.10