$ git clone -n https://gitee.com/src-anolis-os/haproxy.git /var/lib/mock/dist-an23-build-python3.11-379895-71811/root/chroot_tmpdir/scmroot/haproxy Cloning into '/var/lib/mock/dist-an23-build-python3.11-379895-71811/root/chroot_tmpdir/scmroot/haproxy'... $ git reset --hard origin/a23 HEAD is now at 4b5b8e3 fix source link