You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| featureName | <code>String</code> | The name of the feature to finish |
39
40
| options | <code>Object</code> | Options for finish feature |
40
41
42
+
**Options**:
43
+
44
+
| Option | Type | Description |
45
+
| --- | --- | --- |
46
+
| keepBranch | Boolean | Keep the branch after merge |
47
+
| isRebase | Boolean | Use Rebase instead of merge |
48
+
| preRebaseCallback | Function | Callback that is fired before rebase occurs, only applicable if **isRebase** is truthy. If the callback returns a Promise, the **preRebaseCallback** promise must succeed before the rebase occurs. The **preRebaseCallback** is called with development branch name and the feature branch name. |
49
+
| processMergeMessageCallback | Function | Callback that is fired before merge occurs, only applicable if **isRebase** is falsy. If the callback returns a Promise, the **processMergeMessageCallback** promise must succeed before the merge occurs. The result of the **processMergeMessageCallback** must be a string or a promise that resolves to a string, as that message will be used for the merge message. the **processMergeMessageCallback** will be called with the generated merge message as a parameter. |
50
+
| postMergeCallback | Function | Callback fired after a successful merge occurs. |
51
+
| beforeRebaseFinishCallback | Function | Callback that is fired right before a rebase is finished with metadata reflecting the rebase operation in full. See [Rebase Branches](http://www.nodegit.org/api/repository/#rebaseBranches)|
| featureName | <code>String</code> | The name of the feature to finish |
67
79
| options | <code>Object</code> | Options for finish feature |
68
80
81
+
**Options**:
82
+
83
+
| Option | Type | Description |
84
+
| --- | --- | --- |
85
+
| keepBranch | Boolean | Keep the branch after merge |
86
+
| isRebase | Boolean | Use Rebase instead of merge |
87
+
| preRebaseCallback | Function | Callback that is fired before rebase occurs, only applicable if **isRebase** is truthy. If the callback returns a Promise, the **preRebaseCallback** promise must succeed before the rebase occurs. The **preRebaseCallback** is called with development branch name and the feature branch name. |
88
+
| processMergeMessageCallback | Function | Callback that is fired before merge occurs, only applicable if **isRebase** is falsy. If the callback returns a Promise, the **processMergeMessageCallback** promise must succeed before the merge occurs. The result of the **processMergeMessageCallback** must be a string or a promise that resolves to a string, as that message will be used for the merge message. the **processMergeMessageCallback** will be called with the generated merge message as a parameter. |
89
+
| postMergeCallback | Function | Callback fired after a successful merge occurs. |
90
+
| beforeRebaseFinishCallback | Function | Callback that is fired right before a rebase is finished with metadata reflecting the rebase operation in full. See [Rebase Branches](http://www.nodegit.org/api/repository/#rebaseBranches)|
Copy file name to clipboardExpand all lines: docs/Hotfix.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,16 @@ Finishes a git flow "hotfix"
38
38
| hotfixVersion | <code>String</code> | The version of the hotfix to finish |
39
39
| options | <code>Object</code> | Options for finish hotfix |
40
40
41
+
**Options**:
42
+
43
+
| Option | Type | Description |
44
+
| --- | --- | --- |
45
+
| keepBranch | Boolean | Keep the branch after merge |
46
+
| message | String | Tag will be created with this message |
47
+
| processMergeMessageCallback | Function | Callback that is fired before merge occurs. If the callback returns a Promise, the **processMergeMessageCallback** promise must succeed before the merge occurs. The result of the **processMergeMessageCallback** must be a string or a promise that resolves to a string, as that message will be used for the merge message. the **processMergeMessageCallback** will be called with the generated merge message as a parameter. |
48
+
| postDevelopMergeCallback | Function | Callback fired after a successful merge with development occurs. |
49
+
| postMasterMergeCallback | Function | Callback fired after a successful merge with master occurs. |
| hotfixVersion | <code>String</code> | The version of the hotfix to finish |
67
77
| options | <code>Object</code> | Options for finish hotfix |
68
78
79
+
**Options**:
80
+
81
+
| Option | Type | Description |
82
+
| --- | --- | --- |
83
+
| keepBranch | Boolean | Keep the branch after merge |
84
+
| message | String | Tag will be created with this message |
85
+
| processMergeMessageCallback | Function | Callback that is fired before merge occurs. If the callback returns a Promise, the **processMergeMessageCallback** promise must succeed before the merge occurs. The result of the **processMergeMessageCallback** must be a string or a promise that resolves to a string, as that message will be used for the merge message. the **processMergeMessageCallback** will be called with the generated merge message as a parameter. |
86
+
| postDevelopMergeCallback | Function | Callback fired after a successful merge with development occurs. |
87
+
| postMasterMergeCallback | Function | Callback fired after a successful merge with master occurs. |
Copy file name to clipboardExpand all lines: docs/Release.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,16 @@ Finishes a git flow "release"
38
38
| releaseVersion | <code>String</code> | The name of the release to finish |
39
39
| options | <code>Object</code> | Options for finish release |
40
40
41
+
**Options**:
42
+
43
+
| Option | Type | Description |
44
+
| --- | --- | --- |
45
+
| keepBranch | Boolean | Keep the branch after merge |
46
+
| message | String | Tag will be created with this message |
47
+
| processMergeMessageCallback | Function | Callback that is fired before merge occurs. If the callback returns a Promise, the **processMergeMessageCallback** promise must succeed before the merge occurs. The result of the **processMergeMessageCallback** must be a string or a promise that resolves to a string, as that message will be used for the merge message. the **processMergeMessageCallback** will be called with the generated merge message as a parameter. |
48
+
| postDevelopMergeCallback | Function | Callback fired after a successful merge with development occurs. |
49
+
| postMasterMergeCallback | Function | Callback fired after a successful merge with master occurs. |
| releaseVersion | <code>String</code> | The name of the release to finish |
67
77
| options | <code>Object</code> | Options for finish release |
68
78
79
+
**Options**:
80
+
81
+
| Option | Type | Description |
82
+
| --- | --- | --- |
83
+
| keepBranch | Boolean | Keep the branch after merge |
84
+
| message | String | Tag will be created with this message |
85
+
| processMergeMessageCallback | Function | Callback that is fired before merge occurs. If the callback returns a Promise, the **processMergeMessageCallback** promise must succeed before the merge occurs. The result of the **processMergeMessageCallback** must be a string or a promise that resolves to a string, as that message will be used for the merge message. the **processMergeMessageCallback** will be called with the generated merge message as a parameter. |
86
+
| postDevelopMergeCallback | Function | Callback fired after a successful merge with development occurs. |
87
+
| postMasterMergeCallback | Function | Callback fired after a successful merge with master occurs. |
0 commit comments