Search code examples
atlassian-sourcetreegit-lfs

Track files with Git LFS in SourceTree


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?


Solution

  • 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.