$ git clone -n https://src.fedoraproject.org/rpms/R-git2r.git /var/lib/mock/f33-build-520749-64569/root/chroot_tmpdir/scmroot/R-git2r Cloning into '/var/lib/mock/f33-build-520749-64569/root/chroot_tmpdir/scmroot/R-git2r'... $ git reset --hard 98817ecb18f7cca2e46ef957b5bda5badb5d00d2 HEAD is now at 98817ec Update to latest version.