Random failure to detect new commit with 'credential-' is not a git command error
Problem
Sometimes, Bamboo will fail to detect changes with the following appears in the atlassian-bamboo.log
2018-12-11 13:17:01,105 INFO [9-BAM::PlanExec:pool-15-thread-2] [DefaultErrorHandler] Recording an error: Unable to detect changes : PROJ-PLAN : command [/usr/bin/git -c credential.helper= -c 'credential.helper=store --file=/atlassian-bamboo-6.7.1/temp/gitCredentials6508400551221807946.tmp' ls-remote REPO_URL] failed with code 128. Working directory was [/atlassian-bamboo-6.7.1/temp]., stderr:
git: 'credential-' is not a git command. See 'git --help'.
Did you mean this?
credential
Cause
Bug in certain version of Git client.
Resolution
Upgrade Git client to the latest version
Last modified on Jan 8, 2019
Powered by Confluence and Scroll Viewport.