Skip to main content

Git LFS Usage (Source Tree)

UploadAuthor: @Andhika Rogue

Last Updated February 3, 2023


How to Setup

  • Now open up source tree and initialize Git LFS in your git project

    ![Untitled](Git LFS Usage (Source Tree)%207312377ec1a343b58fa2daacfb1da05f/Untitled.png)

    • In ProgressRepository, you can find Git LFS menu
    • Use Initialize Repository from there

How to Use

Adding files to LFS

  • To add files, you can just right click on the files you want to add to Git LFS and click Track file type in Git LFS

    ![Untitled](Git LFS Usage (Source Tree)%207312377ec1a343b58fa2daacfb1da05f/Untitled%201.png)

  • You can also add or remove (or even check) file types in Git LFS in Git LFS menu here

    ![Untitled](Git LFS Usage (Source Tree)%207312377ec1a343b58fa2daacfb1da05f/Untitled%202.png)

    ![Untitled](Git LFS Usage (Source Tree)%207312377ec1a343b58fa2daacfb1da05f/Untitled%203.png)

Getting LFS files

  • When you check out a branch, you should be getting a popup like this

    ![Untitled](Git LFS Usage (Source Tree)%207312377ec1a343b58fa2daacfb1da05f/Untitled%204.png)

  • If you don’t you can also manually get LFS files by going to LFS menu and choose Pull LFS Content

    ![Untitled](Git LFS Usage (Source Tree)%207312377ec1a343b58fa2daacfb1da05f/Untitled%205.png)