$ git clone -n https://gitee.com/src-anolis-os/ant.git /var/lib/mock/dist-an23-build-240277-62973/root/chroot_tmpdir/scmroot/ant Cloning into '/var/lib/mock/dist-an23-build-240277-62973/root/chroot_tmpdir/scmroot/ant'... $ git reset --hard origin/a23 HEAD is now at 339d335 init from upstream