-
Notifications
You must be signed in to change notification settings - Fork 12
Doesn't seem to work with https git remotes #41
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
Comments
@andyjeffries it looks like a self-host repo in heroku.com for the staging, which is not supported by now. |
I don't understand what you mean? That's how people deploy to Heroku - by adding a git remote. Also, given that my |
So, sorry when I said "doesn't seem to work with https git remotes", I didn't mean that I couldn't use it - but that the entire plugin doesn't work if you have one, even if you explicitly set it not to use that remote but a regular GitHub remote. |
@andyjeffries It should work for GitHub no matter via ssh or https. I have just verified from my side, would you please double check? $ git remote -v
https https://github.com/qinezh/vscode-gitlink.git (fetch)
https https://github.com/qinezh/vscode-gitlink.git (push)
origin [email protected]:qinezh/vscode-gitlink (fetch)
origin [email protected]:qinezh/vscode-gitlink (push) |
OK, so I checked out your repo:
Then I edited
And it worked fine when I did "Copy online link". Then I changed it to be:
And it breaks. I then did:
That should force it to ignore the "https" remote and use the "origin" one, right? Same issue. |
It looks like it doesn't like "https://HOSTNAME/repo.git" only "https://HOSTNAME/ACCOUNT/repo.git", without that folder it breaks. However (and this is most important) with the setting for |
Yeah, that would be a good point. Marked it as bug. Thank you for reporting it. |
No worries. Never looked at Typescript before, but I'm trying to have a look at raising a PR for git-urls. It may end up being ignored or implementing differently, but at least I'm not just saying "here's a bug, please fix it" but trying to help out at the same time :-) |
@andyjeffries this issue should be resolved in latest release 1.0.1, please take a try 😄 |
Yep, working perfectly for me now. Many thanks! |
Settings.json:
Git remote output:
When I try to do "Goto Online link I get":
I'm running v0.8.1
The text was updated successfully, but these errors were encountered: