Random failure to detect new commit with 'credential-' is not a git command error

Still need help?

The Atlassian Community is here for you.

Ask the community

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


DescriptionRandom failure to detect new commit with 'credential-' is not a git command error
ProductBamboo
Last modified on Jan 8, 2019

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.