$ git clone -n https://gitee.com/src-anolis-os/velocity.git /var/lib/mock/dist-an23-build-342969-69989/root/chroot_tmpdir/scmroot/velocity Cloning into '/var/lib/mock/dist-an23-build-342969-69989/root/chroot_tmpdir/scmroot/velocity'... $ git reset --hard origin/a23 HEAD is now at 4560cdb rebuild