Skip to content

Commit 51b434f

Browse files
committed
Small tweaks in the branch documentation 👍
1 parent 160f845 commit 51b434f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ It outputs a `VERSION` based on [git-describe](http://www.git-scm.com/docs/git-d
3434
v0.0.0-34-g7c16d8b
3535
```
3636

37-
And a `COMMITHASH` such as:
37+
A `COMMITHASH` such as:
3838

3939
```
4040
7c16d8b1abeced419c14eb9908baeb4229ac0542
4141
```
4242

43-
And with the branch option enabled a `BRANCH` such as:
43+
And (optionally [when branch is enabled](#branch-false)) a `BRANCH` such as:
4444

4545
```
4646
master
@@ -124,7 +124,7 @@ var GitRevisionPlugin = require('git-revision-webpack-plugin')
124124
module.exports = {
125125
plugins: [
126126
new GitRevisionPlugin({
127-
branchCommand: 'git rev-parse --symbolic-full-name HEAD'
127+
branchCommand: 'rev-parse --symbolic-full-name HEAD'
128128
})
129129
]
130130
}
@@ -136,7 +136,7 @@ It is also possible to use two [path substituitions](http://webpack.github.io/do
136136

137137
- `[git-revision-version]`
138138
- `[git-revision-hash]`
139-
- `[git-revision-branch]` (only with the branch option enabled)
139+
- `[git-revision-branch]` (only [when branch is enabled](#branch-false))
140140

141141
Example:
142142

0 commit comments

Comments
 (0)