File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,13 @@ It outputs a `VERSION` based on [git-describe](http://www.git-scm.com/docs/git-d
3434v0.0.0-34-g7c16d8b
3535```
3636
37- And a ` COMMITHASH ` such as:
37+ A ` COMMITHASH ` such as:
3838
3939```
40407c16d8b1abeced419c14eb9908baeb4229ac0542
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```
4646master
@@ -124,7 +124,7 @@ var GitRevisionPlugin = require('git-revision-webpack-plugin')
124124module .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
141141Example:
142142
You can’t perform that action at this time.
0 commit comments