$ git clone -n https://gitee.com/src-anolis-os/libidn2.git /var/lib/mock/dist-an23-build-158209-58313/root/chroot_tmpdir/scmroot/libidn2 Cloning into '/var/lib/mock/dist-an23-build-158209-58313/root/chroot_tmpdir/scmroot/libidn2'... $ git reset --hard origin/a23 HEAD is now at 36615bd 2.3.4