Skip to content

Commit d9a0d19

Browse files
authored
Merge pull request #149 from rec/documentation
Document flags to git-open
2 parents 849298f + d52366d commit d9a0d19

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,20 @@ Type `git open` to open the repo website (GitHub, GitLab, Bitbucket) in your bro
88

99
```sh
1010
git open [remote-name] [branch-name]
11+
# Open the page for this branch on the repo website
12+
13+
git open --commit
14+
git open -c
15+
# Open the current commit in the repo website
1116

1217
git open --issue
18+
git open -i
19+
# If this branch is named like issue/#123, this will open the corresponding
20+
# issue in the repo website
21+
22+
git open --print
23+
git open -p
24+
# Only print the url at the terminal, but don't open it
1325
```
1426

1527
(`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)

0 commit comments

Comments
 (0)