Git LFS Usage (Source Tree)
Last Updated February 3, 2023
How to Setup
-
Now open up source tree and initialize Git LFS in your git project
%207312377ec1a343b58fa2daacfb1da05f/Untitled.png)
- In Repository, 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
%207312377ec1a343b58fa2daacfb1da05f/Untitled%201.png)
-
You can also add or remove (or even check) file types in Git LFS in Git LFS menu here
%207312377ec1a343b58fa2daacfb1da05f/Untitled%202.png)
%207312377ec1a343b58fa2daacfb1da05f/Untitled%203.png)
Getting LFS files
-
When you check out a branch, you should be getting a popup like this
%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
%207312377ec1a343b58fa2daacfb1da05f/Untitled%205.png)
No Comments