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