Open the current repo in your browser
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
git-remote
README.md
main.go

README.md

git-open

Open the current repo in your browser.

Installation

$ go get github.com/chrfrasco/git-open

Usage

Assuming $GOPATH/bin is on your path:

$ git-open # opens origin by default

Create a git alias

Open ~/.gitconfig and add this line:

[alias]
  ...
  open = !sh git-open

This adds the open command to git:

$ git open