NeogitOrg / neogit

An interactive and powerful Git interface for Neovim, inspired by Magit
MIT License
3.71k stars 221 forks source link

Handle git@server:repo.git as a shorthand for ssh://git@server/repo.git in git.remote.parse(url) #1267

Closed franklouwers closed 3 months ago

franklouwers commented 3 months ago

Per the Git Book (https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols), git@remote:repo.git is a shorthand for ssh://git@remote/repo.git. This handles this by explicitly parsing as ssh://... in the git.remote.parse(url) funciton.

Closes #1266

CKolkey commented 3 months ago

Great work, thanks man ;)