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)|
0 commit comments