$ git clone -n https://gitee.com/src-anolis-test/libvirt-dbus.git /var/lib/mock/dist-an8.4-internal-build-77185-40392/root/chroot_tmpdir/scmroot/libvirt-dbus Cloning into '/var/lib/mock/dist-an8.4-internal-build-77185-40392/root/chroot_tmpdir/scmroot/libvirt-dbus'... $ git reset --hard origin/a8 HEAD is now at ff16bfb import libvirt-dbus-1.3.0-2.module+el8.3.0+6423+e4cb6418.src.rpm