$ git clone -n https://src.fedoraproject.org/rpms/R-diffobj.git /var/lib/mock/f33-build-537322-64994/root/chroot_tmpdir/scmroot/R-diffobj Cloning into '/var/lib/mock/f33-build-537322-64994/root/chroot_tmpdir/scmroot/R-diffobj'... $ git reset --hard 2929f123d3e920d18a4c8a93f9c06dd18311af22 HEAD is now at 2929f12 Update to latest version.