$ git clone -n https://src.fedoraproject.org/rpms/R-gdtools.git /var/lib/mock/f33-build-619756-67424/root/chroot_tmpdir/scmroot/R-gdtools Cloning into '/var/lib/mock/f33-build-619756-67424/root/chroot_tmpdir/scmroot/R-gdtools'... $ git reset --hard 2a49d400aae4e075d1f5e138bc6d98e31c2569c6 HEAD is now at 2a49d40 Update to latest version.