Skip to content

Commit ed3a6d0

Browse files
committed
Various improvements as suggested in #110
1 parent ade7ae1 commit ed3a6d0

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

git-open.1.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,17 @@
33

44
## SYNOPSIS
55

6-
`git-open` [remote-name] [branch-name]
7-
8-
`git-open` --issue
6+
`git open` [--issue] [remote-name] [branch-name]
97

108

119
## DESCRIPTION
1210

13-
`git-open` opens the repository's website in your browser. The major well known
11+
`git open` opens the repository's website in your browser. The major well known
1412
git hosting services are supported.
1513

1614

1715
## OPTIONS
1816

19-
2017
`-i`, `--issue`
2118
Open the current issue. When the name of the current branch matches the right pattern,
2219
it will open the webpage with that issue. See `EXAMPLES` for more information.
@@ -54,10 +51,10 @@ If branches use naming convention of `issues/#123`, it opens
5451
https://github.com/TRACKED_REMOTE_USER/CURRENT_REPO/issues/123
5552

5653

57-
## SUPPORTED REMOTE REPOSITORIES
54+
## SUPPORTED GIT HOSTING SERVICES
5855

5956
git-open can automatically guess the corresponding repository page for remotes
60-
(default looks for `origin`) on the following hosts:
57+
on the following git hosting services:
6158

6259
- github.com
6360
- gist.github.com
@@ -72,7 +69,7 @@ git-open can automatically guess the corresponding repository page for remotes
7269
## CONFIGURATION
7370

7471
To configure git-open you may need to set some `git config` options.
75-
You can use `--global` to set across all repos, instead of just the local one.
72+
You can use `--global` to set across all repos, instead of just the current repo.
7673

7774
```sh
7875
$ git config [--global] option value

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"git-open": "git-open",
3131
"git-home": "git-open"
3232
},
33+
"man": "./git-open.1",
3334
"scripts": {
3435
"lint:editorconfig": "eclint check git-open* readme* .travis.yml",
3536
"lint:package": "pjv --recommendations --warnings",

0 commit comments

Comments
 (0)