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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 7.2 is here!

I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...

575 views 8 7
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