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