@@ -110,7 +110,7 @@ Retrieves an object that contains the git config values that are relevant to git
110
110
Returns the following object which is the standard git flow config object
111
111
``` javascript
112
112
{
113
- ' gitflow.branch.master' : ' master ' ,
113
+ ' gitflow.branch.master' : ' main ' ,
114
114
' gitflow.branch.develop' : ' develop' ,
115
115
' gitflow.prefix.feature' : ' feature/' ,
116
116
' gitflow.prefix.release' : ' release/' ,
@@ -167,7 +167,7 @@ NodeGit.Flow.open(repository)
167
167
return flow .getMasterBranch ();
168
168
})
169
169
.then ((masterBranchName ) => {
170
- console .log (masterBranchName); // => master
170
+ console .log (masterBranchName); // => main
171
171
});
172
172
```
173
173
@@ -230,7 +230,7 @@ Validates that a config object has all of the required keys for nodegit-flow to
230
230
Example:
231
231
``` javascript
232
232
const result = NodeGit .Flow .validateConfig ({
233
- ' gitflow.branch.master' : ' master ' ,
233
+ ' gitflow.branch.master' : ' main ' ,
234
234
' gitflow.branch.develop' : ' develop' ,
235
235
' gitflow.prefix.feature' : ' feature/' ,
236
236
' gitflow.prefix.hotfix' : ' hotfix/'
0 commit comments