Track files with Git LFS in SourceTree

Viewed 10892

I am following this guide about how to use Git LFS.

The article states that users need to have the Git LFS command-line client installed, or a Git LFS aware GUI client such as Sourcetree.

Much as it seems simple, I can't find any information on how to track files with Git LFS in SourceTree GUI, only command line instructions like git lfs track "*.ogg". Is it possible?

3 Answers

Finally, found the solution myself:

Go to Tools -> Options -> Git and press Update Embedded

Tick Enable the Bitbucket LFS Media Adapter

Go to Repository -> Git LFS -> Initialize Repository

Go to Repository -> Git LFS -> Track / untrack files ... and add the extensions to be stored in LFS.

I also found using LFS in Sourcetree confusing. Then I found this menu that helped quite a bit.

enter image description here

Related