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
Community Members
Community Events
Community Groups

Used the https to connect GIT repository, but got error: Unknown option: -c

I was trying to setup up a GIT respository in Bamboo build plan by using this format:


But it cannot connect with the errow below: 

We couldn't connect to the repository. Here's what we got back:

Unknown option: -c
usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]
[-p|--paginate|--no-pager] [--no-replace-objects]
[--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]
[--help] COMMAND [ARGS]

 What may go wrong ? Thanks. 

1 answer

Sounds like you're not running a supported version of Git. Check that doc for the version of Bamboo you are running.

Thanks for your replay. The Bamboo version is 6.10.2 build 61006.  What is the compatible version of GIT ? Thanks. 

Jeyanthan I Atlassian Team Mar 07, 2020

Hey @Amber_Abstract ,

Git 1.8.5 and later is supported as per the official documentation.


Suggest an answer

Log in or Sign up to answer

Atlassian Community Events