$ git clone -n https://gitee.com/src-anolis-os/c-ares.git /var/lib/mock/dist-an23-build-267668-64102/root/chroot_tmpdir/scmroot/c-ares Cloning into '/var/lib/mock/dist-an23-build-267668-64102/root/chroot_tmpdir/scmroot/c-ares'... $ git reset --hard origin/a23 HEAD is now at 5e0febf 1.19.1