mirror of
https://github.com/paulirish/git-open.git
synced 2026-09-10 07:26:15 -04:00
Document flags to git-open
This commit is contained in:
parent
08fa2abd7e
commit
d52366d8c9
12
README.md
12
README.md
|
|
@ -8,8 +8,20 @@ Type `git open` to open the repo website (GitHub, GitLab, Bitbucket) in your bro
|
|||
|
||||
```sh
|
||||
git open [remote-name] [branch-name]
|
||||
# Open the page for this branch on the repo website
|
||||
|
||||
git open --commit
|
||||
git open -c
|
||||
# Open the current commit in the repo website
|
||||
|
||||
git open --issue
|
||||
git open -i
|
||||
# If this branch is named like issue/#123, this will open the corresponding
|
||||
# issue in the repo website
|
||||
|
||||
git open --print
|
||||
git open -p
|
||||
# Only print the url at the terminal, but don't open it
|
||||
```
|
||||
|
||||
(`git open` works with these [hosted repo providers](#supported-remote-repositories), `git open --issue` currently only works with GitHub, Visual Studio Team Services and Team Foundation Server)
|
||||
|
|
|
|||
Loading…
Reference in a new issue