Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Theo G February 15, 2016

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
Johannes Kilian
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 15, 2016

Unfortunately it seems you cannot use LFS with SrcTreeWin yet:

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

1 vote
Ben Humphreys
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 15, 2016

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 

0 votes
Theo G February 15, 2016

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

Johannes Kilian
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 15, 2016

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)

Theo G February 17, 2016

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

Johannes Kilian
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 17, 2016

@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

Theo G February 17, 2016

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
TAGS
AUG Leaders

Atlassian Community Events