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