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!