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