$ git clone -n https://src.fedoraproject.org/rpms/R-stringi.git /var/lib/mock/f31-build-54874-28069/root/chroot_tmpdir/scmroot/R-stringi Cloning into '/var/lib/mock/f31-build-54874-28069/root/chroot_tmpdir/scmroot/R-stringi'... $ git reset --hard cd2873d3da627f5c8735e0d01f90c9e9f90597ae HEAD is now at cd2873d Update to latest version.