$ git clone -n https://gitee.com/src-anolis-os/helib.git /var/lib/mock/dist-an23-build-158598-58476/root/chroot_tmpdir/scmroot/helib Cloning into '/var/lib/mock/dist-an23-build-158598-58476/root/chroot_tmpdir/scmroot/helib'... $ git reset --hard origin/a23 HEAD is now at 6db3b0e add helib 2.2.1