$ git clone -n https://src.fedoraproject.org/rpms/R-xml2.git /var/lib/mock/f31-build-114788-34470/root/chroot_tmpdir/scmroot/R-xml2 Cloning into '/var/lib/mock/f31-build-114788-34470/root/chroot_tmpdir/scmroot/R-xml2'... $ git reset --hard 65606721a07baad1d3d7739eabe93d2aa6bacd1f HEAD is now at 6560672 Update to latest version.