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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sourcetree can not use git-lfs

Edited

I have tried embedded git and tried system git options in the (Mac OS) Preferences->Git tab. I have version 3.0.1 and have just re-installed Sourcetree.

I am sure i have git lfs installed, it worked previously with sourcetee.

When I tell sourcetree to use the system git, it finds the executable git-lfs.

 

When i try to use git lfs in a custom action,  i get this error:

{code}

command: git lfs lock animation/hiking/anim_hiking_driving_01.tar

 

git: 'lfs' is not a git command. See 'git --help'.

 

The most similar command is

log{code}

 

1 answer

0 votes
Ana Retamal Atlassian Team Jan 23, 2019

Hi Chris,

Is your project using Git LFS already? If not, you need to install Git LFS on your computer (if it's not there already) and initialize it within your repo as explained at Tutorial Git LFS.

Let us know if that helps!

Kind regards,
Ana

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published 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...

5,742 views 4 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you