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