$ git clone -n https://src.fedoraproject.org/rpms/knot-resolver.git /var/lib/mock/f33-build-148026-43161/root/chroot_tmpdir/scmroot/knot-resolver Cloning into '/var/lib/mock/f33-build-148026-43161/root/chroot_tmpdir/scmroot/knot-resolver'... $ git reset --hard cdcf73036b56e240a0fca207f9fb2e5c29816257 HEAD is now at cdcf730 5.0.1-1: new upstream version