How can I use git-lfs on a local Windows remote server?

Hello everyone,

My firm uses Git on Windows and as people here don’t like command line, we use SourceTree as a graphic interface.

However we have a problem with large binary files and therefore we are looking for a solution to this problem. I see that git-lfs works with SourceTree, which is great because it would allow people not to use command lines.

But git-lfs needs projects to be on github.

Is it then possible to use git-lfs and make the large binary files copy on a local remote server (like G:// ) instead of github?

Or if you have any other Solutions for Windows than git-lfs for this problem of stocking large binary file on a local remote server I would take it!

Thanks for the excellent work.

Theo G

3 answers

1 vote

Hi Theo,

If you wish to host your Git LFS objects on a local server then Bitbucket Server will provide what you are looking for: https://bitbucket.org/product/server

Bitbucket Server versions 4.3 and later include an embedded object store for LFS objects: https://confluence.atlassian.com/pages/viewpage.action?pageId=794364846 and Windows is a supported platform: https://confluence.atlassian.com/display/BitbucketServer/Supported+platforms

You can obtain an evaluation copy to see if it suits your needs.

Also be sure to use SourceTree for Windows v1.8 or later as it includes Git LFS support: https://www.sourcetreeapp.com/update/WindowsReleaseNotes.html

Regards,
Ben 

Unfortunately it seems you cannot use LFS with SrcTreeWin yet:

https://answers.atlassian.com/questions/35771155

Hi everyone and thank you for your answer!

@Johannes Kilian , according to this Topic: https://answers.atlassian.com/questions/16394605 the last comment says that it "seems" to work, so that is why I try

@Ben Humphreys Thank you for your answer, I will give it a look and try. Also, if I've got a server (not local), could it be possible to use git-lfs with SourceTree?

Thanks for your response

Théo

My answer referred to SrcTreeWin 1.7.x - I wrote "seems" as I haven't tried it myself, but this is reported in https://answers.atlassian.com/questions/35771155

 

After just updating (to the awful looking  - IMHO) SrcTreeWin 1.8.0, support for LFS seems to be available within SrcTreeWin (just saw the menu item)

Just uploaded to SrcTreeWin 1.8.x too, a little disappointed by the new Skin, really used to the old one it seems.

I'm going to see if i can manage to make git-lfs to work and will come back for any furthers remarks or questions!

Regards

@Theo G: Hands off Srctree 1.8.0/1.8.1 as it has tons of bugs which make it nearly unusable ...

Just look here on this site for complaints and misbehaiviour of SourceTree 1.8

Just saw it! Such a shame I think, I would make another issue about it then. Thanks!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

86 views 0 11
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you