$ git clone -n https://src.fedoraproject.org/rpms/R-unix.git /var/lib/mock/f33-build-542227-65139/root/chroot_tmpdir/scmroot/R-unix Cloning into '/var/lib/mock/f33-build-542227-65139/root/chroot_tmpdir/scmroot/R-unix'... $ git reset --hard 4fc7b35efcdf8dece60933ad71e268565ca891f8 HEAD is now at 4fc7b35 Update to latest version.