git remote show origin (URL)

4 messages, 3 authors, 2016-06-15 · open the first message on its own page

git remote show origin (URL)

From: frankkany <hidden>
Date: 2016-06-15 22:51:34

On box (A), when using "git remote show origin", I'm used to seeing something
like the following next to the FETCH/PUSH URL:
"git@somegitrepo.com:somefolder/someproject.git"

The URL is actually pingable.

On box (B), when using "git remote show origin" on an unfamiliar project,
the FETCH/PUSH URL is: "hidden-repos:repositories/mysteryproject.git".

How can I find where the actual url/directory where "hidden-repos" is
pointing?

Thanks,

Frank




--
View this message in context: http://git.661346.n2.nabble.com/git-remote-show-origin-URL-tp6571492p6571492.html
Sent from the git mailing list archive at Nabble.com.

Re: git remote show origin (URL)

From: Santi Béjar <hidden>
Date: 2016-06-15 22:51:34

Hello,

On Mon, Jul 11, 2011 at 6:08 PM, frankkany [off-list ref] wrote:
On box (A), when using "git remote show origin", I'm used to seeing something
like the following next to the FETCH/PUSH URL:
"git@somegitrepo.com:somefolder/someproject.git"

The URL is actually pingable.

On box (B), when using "git remote show origin" on an unfamiliar project,
the FETCH/PUSH URL is: "hidden-repos:repositories/mysteryproject.git".

How can I find where the actual url/directory where "hidden-repos" is
pointing?
Maybe it is using an url.<base>.insteadOf that is set to
"hidden-repos:", check it with "git config -l".

But here the output of "git remote show $repo" is with the actual url,
not with the "hidden" ones, so not sure if it is your case.

HTH,
Santi

Re: git remote show origin (URL)

From: frankkany <hidden>
Date: 2016-06-15 22:51:34

Running:
"git config -l"

Shows the same URL displayed in when running: 
"git remote show origin"

I also checked the /etc/hosts file to make sure "hidden-repos" didn't point
to another IP.

I'm stumped...

--
View this message in context: http://git.661346.n2.nabble.com/git-remote-show-origin-URL-tp6571492p6571752.html
Sent from the git mailing list archive at Nabble.com.

Re: git remote show origin (URL)

From: Illia Bobyr <hidden>
Date: 2016-06-15 22:51:34

On 7/11/2011 11:08 AM, frankkany wrote:
On box (A), when using "git remote show origin", I'm used to seeing something
like the following next to the FETCH/PUSH URL:
"git@somegitrepo.com:somefolder/someproject.git"

The URL is actually pingable.

On box (B), when using "git remote show origin" on an unfamiliar project,
the FETCH/PUSH URL is: "hidden-repos:repositories/mysteryproject.git".

How can I find where the actual url/directory where "hidden-repos" is
pointing?
There might be a "Host hidden-repos" entry in your .ssh/config or 
/etc/ssh_config that maps the name to the actual hostname.

Ilya Bobyr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help