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

git repository URL using '-upload-pack' option

I'm pulling a git repo from one of my colleagues. I usually do the following on the command line:

  • git clone <host_name> /path/to/repo/i/want -u /stuff/bin/git-upload-pack/

How do I convert this into a valid Repository URL per https://confluence.atlassian.com/display/BAMBOO058/Git ? I'm having trouble finding examples or documentation regarding additional options beyond the URL. At the moment, I'm trying the URL: <host_name>/:path/to/repo/i/want/, which produces the error

  • Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists

Any help greatly appreciated

1 answer

Assuming you are doing this over a network file share, you need to give the part you described as

&lt;host_name&gt;/:path/to/repo/i/want/

as a valid UNC path:

\\host_name\path\to\repo\i\want\

If you are on Windows, or something like

host_name/path/to/repo/i/want/

on linux (The ":" in your string is not in the right place and only necessary if you are giving a port number when using HTTP(S) or SSH.)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Off-topic

Atlassian Summit

This year will be my first time attending Atlassian Summit, yay! So I wanted to use this Friday Fun topic to find out more from all of you. Are you attending? Is there anything specific you are look...

98 views 5 4
Join discussion

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