Git Lfs
Predrag Punosevac
predragp at andrew.cmu.edu
Wed May 9 22:37:40 EDT 2018
Donghan Wang <donghanw at cs.cmu.edu> wrote:
> Predrag and Yang,
>
> I installed git-lfs using yum via PackageCloud.
>
> curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh
> | sudo bash
>
That is so wrong. Randomly adding RPM repositories is the quickest way
to break your Red Hat system
> # which creates /etc/yum.repos.d/github_git-lfs.repo
>
> yum install git-lfs
A little more digging reveals that git-lfs is the part of the official
EPEL repository. I have installed git-lfs on all our computing nodes. It
seems to be working well with git 2.9
predrag at lake$ more .kshrc|grep git
alias git='/opt/rh/rh-git29/root/bin/git'
predrag at lake$ git lfs install
Git LFS initialized.
Cheers,
Predrag
>
>
> References: https://packagecloud.io/github/git-lfs/install#bash-rpm
>
> Thanks,
> Jarod
>
> On Tue, May 8, 2018 at 2:59 PM, Predrag Punosevac <predragp at andrew.cmu.edu>
> wrote:
>
> > Yang Zhang <yz6 at andrew.cmu.edu> wrote:
> >
> > > Hi everybody,
> > >
> > > Is git Lfs installed somewhere on autolab?
> > > If not, would it be possible to install this?
> > > Thanks!
> >
> > This is the first time I have heard of git-lfs. In the Auton Lab we
> > recommend people to use rh-git29 which can be found in
> >
> > /opt/rh/rh-git29/root/bin
> >
> > as oppose to the older default version which is the dependency for R.
> > I don't see RPM which provides rh-git29-lfs
> >
> > http://puias.princeton.edu/data/puias/SCL/7.5/x86_64/
> >
> > which means that the only way to install is from sources.
> >
> > https://git-lfs.github.com/
> >
> > Since git lfs command line extension has to be set up per user I don't
> > see any benefit of me compiling this but one of our scientific
> > programmers will hopefully correct me if I am wrong.
> >
> > Cheers,
> > Predrag
> >
> > >
> > > Best,
> > > Yang
> >
More information about the Autonlab-users
mailing list