$ git clone -n https://gitee.com/src-anolis-os/gnupg2.git /var/lib/mock/dist-an23-build-258322-63743/root/chroot_tmpdir/scmroot/gnupg2 Cloning into '/var/lib/mock/dist-an23-build-258322-63743/root/chroot_tmpdir/scmroot/gnupg2'... $ git reset --hard origin/a23 HEAD is now at d152e30 2.4.1