Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo cloned with SSH is not opening #29

Closed
oluckyman opened this issue Aug 25, 2015 · 5 comments
Closed

Repo cloned with SSH is not opening #29

oluckyman opened this issue Aug 25, 2015 · 5 comments

Comments

@oluckyman
Copy link

I have a private github repo with URL in SSH format:

$ git config --get remote.origin.url
ssh://git@github.com/foo/bar.git

When I run git open in iTerm the Terminal app is opening:
ss 2015-08-25 at 6 51 42 pm

@evoactivity
Copy link
Contributor

evoactivity commented Aug 15, 2016

I'm using a custom gitlab host (and a custom port for ssh) and this is exactly what happens when I run git open

The url it creates is ssh://http://gitlab.my_domain.com/my_port/my_group/my_project.git my clone url is ssh://git@gitlab.my_domain.com:my_port/my_group/my_project.git

@xasx
Copy link
Contributor

xasx commented May 31, 2017

@evoactivity I am seeing this as well - have you found a way around this? PR?

@paulirish
Copy link
Owner

this was fixed with this rewrite line: https://github.com/paulirish/git-open/pull/30/files

obv it was github specific. do you want to contribute a fix that works for gitlab?

@evoactivity
Copy link
Contributor

@xasx I submitted a pull request that fixed this back in August, it might not fix your exact issue though https://github.com/paulirish/git-open/pull/51/files but it might point you in the direction for a fix you can submit.

@xasx
Copy link
Contributor

xasx commented Jun 1, 2017

I tried something that works for me 😆

Please check/review whether it breaks something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants