cancel
Showing results for
Did you mean:
See all
See all
Groups
Explore all groups

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

This widget could not be displayed.

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.)

Community showcase
Published yesterday in Teamwork

The tools we make for teams? We use them every day at Atlassian to get shit done (and it works).

I’m Jess, a Product Marketer for Jira Software Server and Data Center, and now a huge fan of our products. Read on for a 90 day, new-hire perspective on what it’s like to standardize on the Atlassian...

26 views 0 3

Atlassian User Groups

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

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.