I'm currently in the process of implementing my own git-lfs server using Sourcetree as the main GUI to work with it. I noticed LFS support in 2.2 and got very excited because I've been having huge issues with repository size.
So anyway, I've successfully implemented the server, and everything seems to be working great, except that when a file is pushed using GIT LFS on a different clone it's never pulled until I do a manual git-lfs pull through the menu (Repository->GIT LFS->Pull LFS Content). I understand that git-lfs is still essentially in Beta; but I believe that there needs to be an addition to sourcetree for LFS enabled repositories for either a separate pull button for GIT-LFS, or for the Pull button to automatically do a git lfs pull after it's completed the regular git pull.
Or, am I wrong, and is there a way that this can currently be done?
I learned a bit more about smudges, and it appears that the lfs tag in the .gitattributes file for merge i.e. (merge=lfs) should be fixing this problem, but it doesn't appear to do so. Also, git-lfs is initialized properly according to each sourcetree window, under repository. So I'm not sure what's going wrong here.
Found out that the problem was that I wasn't waiting long enough to check the file. The smudge happened without me even knowing, and relatively soon after the pull I was able to open the file.
Interesting problem though, probably something I should report to the feature tracker.
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG