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