Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Amber_Abstract March 6, 2020

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

https://host.xz[:port]/path/to/repo.git 

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

0 votes
Dave Theodore [Coyote Creek Consulting]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 6, 2020

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

Amber_Abstract March 6, 2020

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
Atlassian Team members are employees working across the company in a wide variety of roles.
March 7, 2020

Hey @Amber_Abstract ,

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

Cheers,
Jey

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events