Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,106
Community Members
 
Community Events
168
Community Groups

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

Atlassian Community Events