$ git clone -n https://src.fedoraproject.org/rpms/R-lmtest.git /var/lib/mock/f33-build-628217-67612/root/chroot_tmpdir/scmroot/R-lmtest Cloning into '/var/lib/mock/f33-build-628217-67612/root/chroot_tmpdir/scmroot/R-lmtest'... $ git reset --hard 184f8c7cc87bde6b4324930ba1d2dbc3845d178b HEAD is now at 184f8c7 Update to latest version.