$ git clone -n https://src.fedoraproject.org/rpms/R-xfun.git /var/lib/mock/f33-build-464379-63675/root/chroot_tmpdir/scmroot/R-xfun Cloning into '/var/lib/mock/f33-build-464379-63675/root/chroot_tmpdir/scmroot/R-xfun'... $ git reset --hard 5b30a32b45b04778d37e1bd505851452cf4597d0 HEAD is now at 5b30a32 Update to latest version.