GitLiveApp / GitLive

GitLive Docs
82 stars 24 forks source link

Could not determine Git hosting service from remote URL #78

Closed diegoasanch closed 2 years ago

diegoasanch commented 2 years ago

Hi!

I get the following message Could not determine your Git hosting service from your remote URL when trying to use the extension while on a repo in which the remote URL has the form git@github.com-userName:repository_name.git. I use it this way since I use different SSH keys for my GitHub accounts.

This is how it looks on VScode image

Reedyuk commented 2 years ago

we are looking into it

Reedyuk commented 2 years ago

HI @diegoasanch - is this a custom git config? I havent seen this before. If for now, we currently dont support custom git configs, the work around is to change the remote to the real remote.

diegoasanch commented 2 years ago

Hi! @Reedyuk, the only modification made to the git config is on the remote url as mentioned, I'm using this approach Using multiple GitHub accounts with SSH keys

Reedyuk commented 2 years ago

Yes its a fairly common pattern when dealing with multiple ssh keys. Its in the roadmap to support git config, i will speak with my colleagues about making this a higher priority. I will let you know when its released in this ticket. Unfortunately for now, to use gitlive, you will need to keep that remote url the actual url and not an alias.

diegoasanch commented 2 years ago

Ok, I guess I'll do it that way until it's implemented. Thanks!

Reedyuk commented 2 years ago

Hi @diegoasanch - Great news, we now support git config, can you make sure you have the latest plugin and try it out. I'm going to close this issue now but feel free to reopen it, if it doesnt work for you.