-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix current errors in Markdown files
Also: add package-lock.json to gitignore Remove prefix $ for commands in the manpage, hope people aren't angry Add MD034 to markdownlint ignore (bare links, which are helpful for the manpage)
- Loading branch information
Showing
4 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules/ | ||
sandboxrepo | ||
git-open.1 | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,25 +26,25 @@ git hosting services are supported. | |
## EXAMPLES | ||
|
||
```sh | ||
$ git open | ||
git open | ||
``` | ||
|
||
It opens https://github.com/TRACKED_REMOTE_USER/CURRENT_REPO/ | ||
|
||
```sh | ||
$ git open someremote | ||
git open someremote | ||
``` | ||
|
||
It opens https://github.com/PROVIDED_REMOTE_USER/CURRENT_REPO/ | ||
|
||
```sh | ||
$ git open someremote somebranch | ||
git open someremote somebranch | ||
``` | ||
|
||
It opens https://github.com/PROVIDED_REMOTE_USER/CURRENT_REPO/tree/PROVIDED_BRANCH | ||
|
||
```sh | ||
$ git open --issue | ||
git open --issue | ||
``` | ||
|
||
If branches use naming convention of `issues/#123`, it opens | ||
|
@@ -72,7 +72,7 @@ To configure git-open you may need to set some `git config` options. | |
You can use `--global` to set across all repos, instead of just the current repo. | ||
|
||
```sh | ||
$ git config [--global] option value | ||
git config [--global] option value | ||
``` | ||
|
||
### Configuring which remote to open | ||
|
@@ -106,6 +106,7 @@ git config [--global] open.[gitdomain].protocol [value] | |
``` | ||
|
||
**Example** | ||
|
||
- Your git remote is at `ssh:https://[email protected]:7000/XXX/YYY.git` | ||
- Your hosted gitlab is `https://repo.intranet/subpath/XXX/YYY` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
"MD013": false, | ||
"MD026": false, | ||
"MD033": false, | ||
"MD034": false, | ||
"MD036": false, | ||
"MD041": false | ||
} |