How to git clone local LFS enabled repo within SourceTree ?

I am testing out Git LFS and have a test local Git repo which was setup with Git LFS. Then I tried to use SourceTree to git clone the local Git LFS enabled repo to a new local Git repo but it failed to clone. I suspect it's because the destination local Git repo hasn't got Git LFS installed ?

So how does one locally clone local Git LFS enabled repos ?



1 answer

You have to specifically enable git-lfs for the repo in

Go the the repos Settings->General->Git LFS then click on the "Start using Git LFS".



Hi @Rodney

I have the same issue. The steps you have mention are not working because there is only a screen is coming: ( check attached screenshots )

Screen Shot 2017-02-03 at 2.53.57 PM.png

I am having a very similar issue and have yet to find a solution. I created a test repository, initialized LFS, and added the large file types I want to track (in my case, *.umap and *.uasset). All seems will with that repository.

Cloning that repository fails...Select "Clone/New", enter source and destination path info in the "Clone Repository" dialog, then select "Clone". SourceTree does some work cloning all non-LFS files (I assume). Then I am presented with a dialog titled "Run 'git lfs pull' now?". The text of that dialog is:

"The repository <my cloned repo's name> is using Git LFS but it appears the binary file content hasn't been downloaded yet. Do you want to download the LFS files required by your current checkout?"

I answer "Yes", then I see the "Downloading Git LFS file content" status dialog. Problem is, it never finishes, the progress dialog never goes away.



Same here on a MacBookPro, it shows "Downloading Git LFS file content" forever.
On the other hand, on the same repo it works as expected on a Win10 laptop.
Has anyone found a workaround?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

960 views 4 2
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