Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ls-remote --get-url to get remote url
As noted in a comment, 'git ls-remote --get-url' will expand insteadOf mappings. I use a number of shortcuts (like gh: for git on github, lp: for git on launchpad, me: for my github repositories, etc), so I was constantly hitting situations in which git-open would fail to do the right thing. It looks like '--get-url' has been available since git 2.12.0.
- Loading branch information