$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/virt-manager.git /var/lib/mock/dist-an8.4-build-21568-10163/root/chroot_tmpdir/scmroot/virt-manager Cloning into '/var/lib/mock/dist-an8.4-build-21568-10163/root/chroot_tmpdir/scmroot/virt-manager'... $ git reset --hard origin/a8 HEAD is now at cbf2442 update to virt-manager-2.2.1-4.el8.src.rpm