$ git clone -n https://gitee.com/src-anolis-os/libnftnl.git /var/lib/mock/dist-an23-build-230533-62488/root/chroot_tmpdir/scmroot/libnftnl Cloning into '/var/lib/mock/dist-an23-build-230533-62488/root/chroot_tmpdir/scmroot/libnftnl'... $ git reset --hard origin/a23 HEAD is now at 4bd7fbc 1.2.5