Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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:

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

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.

Cheers,
Jey

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

171 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you