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

GIT LFS failures

We have been running Bamboo jobs without LFS support all this time. Recently we had to enable LFS for one of the jobs as the files that get downloaded are big ( > 1 GB).

After enabling LFS in Bamboo job, when I run a job, it is failing with the following error.

stderr: git: 'lfs' is not a git command.

So I thought my git install doesn't have lfs support. We use Windows git from https://git-scm.com/downloads. It was indeed installed with lfs support.

From Git bash shell, if I issue "git lfs help", I am getting expected response. Plus it let me run "git lfs install".

The Windows Git is installed under C:\Program Files\Git folder.

We also have the Bamboo agent configured with custom capability pointing to git in the above dir.

What is interesting is that the git path used in the above error message seem to be coming from /usr/bin/git. I don't have any git installed under /usr/bin of my Windows Git mingw shell.

I am lost!

Appreciate any help!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

167 views 0 4
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