Skip to content

Commit

Permalink
describe -c (--current-branch) in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Aug 31, 2020
1 parent d863a36 commit ff468e7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Options:
Git URL you want to see. When only repo name is
specified, most popular repository will be searched
from GitHub
-b, --branch BRANCH Branch name to browse. Default value is current branch
-b, --branch BRANCH Branch name to browse
-d, --dir PATH Directory path to the repository. Default value is
current working directory
-R, --remote REMOTE Remote name (e.g. origin). Default value is a remote
Expand All @@ -93,6 +93,8 @@ Options:
URL for GitHub, GitLab pages, Bitbucket Cloud)
-B, --blame Open blame page instead of repository page. File path
to blame must be passed also.
-c, --current-branch
Open the current branch instead of default branch
-h, --help Print this help
-v, --version Show version
```
Expand Down
1 change: 1 addition & 0 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions git-brws.1
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ Open website page instead of repository page (homepage URL for GitHub, GitLab pa
Open blame page instead of repository page\. File path to blame must be passed also\.
.
.TP
\fB\-c\fR, \fB\-\-current\-branch\fR
Open the current branch instead of default branch\.
.
.TP
\fB\-h\fR, \fB\-\-help\fR
Print this help\.
.
Expand Down
3 changes: 3 additions & 0 deletions git-brws.1.ronn
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ arguments. All are optional.
* `-B`, `--blame`:
Open blame page instead of repository page. File path to blame must be passed also.

* `-c`, `--current-branch`:
Open the current branch instead of default branch.

* `-h`, `--help`:
Print this help.

Expand Down

0 comments on commit ff468e7

Please sign in to comment.