$ git clone -n https://gitee.com/src-anolis-os/quota.git /var/lib/mock/dist-an23-build-156347-58313/root/chroot_tmpdir/scmroot/quota Cloning into '/var/lib/mock/dist-an23-build-156347-58313/root/chroot_tmpdir/scmroot/quota'... $ git reset --hard origin/a23 HEAD is now at 2b66760 optimise spec file