paulirish / git-open

Type `git open` to open the GitHub page or website for a repository in your browser.
MIT License
3.29k stars 247 forks source link

Gitblit Support #127

Open graciano opened 6 years ago

graciano commented 6 years ago

Using a gitblit repo, it opened the following (wrong) URL: https://gitblitremoteexample.com/r/my-repo/tree/my-branch

And I think it should open the following: https://gitblitremoteexample.com/summary/my-repo.git/my-branch

Example URLs

Example clone url:

git://gitblitremoteexample.com/my-repo.git

Example branch name:

my-branch

Expected web URL:

https://gitblitremoteexample.com/summary/my-repo.git/my-branch

derimagia commented 5 years ago

Willing to accept a PR for this. We recently got a new contribution for supporting a different remote, AWS Code Commit @ #128. May be useful to look at