$ git clone -n https://gitee.com/src-anolis-os/tar.git /var/lib/mock/dist-an23-riscv64-build-106166-45597/root/chroot_tmpdir/scmroot/tar Cloning into '/var/lib/mock/dist-an23-riscv64-build-106166-45597/root/chroot_tmpdir/scmroot/tar'... $ git reset --hard origin/a23 HEAD is now at 9a71991 init from upstream version for Anolis OS 23