$ git clone -n https://src.fedoraproject.org/rpms/knot-resolver.git /var/lib/mock/f31-build-98298-33046/root/chroot_tmpdir/scmroot/knot-resolver Cloning into '/var/lib/mock/f31-build-98298-33046/root/chroot_tmpdir/scmroot/knot-resolver'... $ git reset --hard d7e4af5338ec4609c3dc4bc99a1b555c0a59d104 HEAD is now at d7e4af5 4.2.0-1: new upstream release