$ git clone -n https://src.fedoraproject.org/rpms/R-rgdal.git /var/lib/mock/f33-build-571012-65959/root/chroot_tmpdir/scmroot/R-rgdal Cloning into '/var/lib/mock/f33-build-571012-65959/root/chroot_tmpdir/scmroot/R-rgdal'... $ git reset --hard 1740253bdc118ab0cb94e542497fbc4e01ec318f HEAD is now at 1740253 Update to latest version.