$ git clone -n https://gitee.com/src-anolis-os/virt-what.git /var/lib/mock/dist-an23-build-253257-63511/root/chroot_tmpdir/scmroot/virt-what Cloning into '/var/lib/mock/dist-an23-build-253257-63511/root/chroot_tmpdir/scmroot/virt-what'... $ git reset --hard origin/a23 HEAD is now at a3c727a Refactor the spec file