$ git clone -n https://gitee.com/src-anolis-os/libvirt-python.git /var/lib/mock/dist-an23-build-234703-62725/root/chroot_tmpdir/scmroot/libvirt-python Cloning into '/var/lib/mock/dist-an23-build-234703-62725/root/chroot_tmpdir/scmroot/libvirt-python'... $ git reset --hard origin/a23 HEAD is now at 1d21ad6 init from upstream