Hacker News new | past | comments | ask | show | jobs | submit login

I did read the use cases and the main pitch. I guess these don't highlight very well how it actually functions. Can I do "git add large.mp4 && git commit" the way I do now?



Yes, you can. That's one other advantage over git-annex (albeit slight).

The documentation lays out the workflow: https://help.github.com/articles/configuring-large-file-stor...

As does the website: https://git-lfs.github.com/ (see: "Getting Started")


Righto. So what is the equivalent thing with git-annex? Would I have to essentially do two commits, one for source code and one for large objects?


I'm still ramping up on git-annex, but basically (once set up):

    git annex add large_file
    git commit
And with mixed (haven't experimented with that yet), I'm pretty sure you could: git annex add large_file git add small_file git commit


Yes, you can mix them just fine.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: