mirror of
https://github.com/paulirish/git-open.git
synced 2026-09-10 15:36:16 -04:00
cs
This commit is contained in:
parent
465c137619
commit
1178e2b60e
6
git-open
6
git-open
|
|
@ -62,13 +62,13 @@ if grep -q gist.github <<<"$giturl"; then
|
|||
# GitHub
|
||||
elif grep -q github <<<"$giturl"; then
|
||||
giturl=${giturl/git\@github\.com\:/https://github.com/}
|
||||
|
||||
|
||||
# handle urls with the git user
|
||||
giturl=${giturl/#github\.com\:/https://github.com/}
|
||||
|
||||
|
||||
# handle urls without the github domain with git user
|
||||
giturl=${giturl/#github\:/https://github.com/}
|
||||
|
||||
|
||||
# handle urls without the github domain
|
||||
giturl=${giturl/#ssh\:\/\/git\@github\//https://github.com/}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue