$ git clone -n https://src.fedoraproject.org/rpms/libvirt.git /var/lib/mock/f31-build-112366-34278/root/chroot_tmpdir/scmroot/libvirt Cloning into '/var/lib/mock/f31-build-112366-34278/root/chroot_tmpdir/scmroot/libvirt'... $ git reset --hard 9d7f31c7fba89bda705eb5a5fd3a96b52c29b911 HEAD is now at 9d7f31c Add patches