$ git clone -n https://src.fedoraproject.org/rpms/testdisk.git /var/lib/mock/f40-build-799635-142454/root/chroot_tmpdir/scmroot/testdisk Cloning into '/var/lib/mock/f40-build-799635-142454/root/chroot_tmpdir/scmroot/testdisk'... $ git reset --hard e5975a43fc1c661364b62293580755c991f02781 HEAD is now at e5975a4 New version 7.2