Skip to content

Commit 64dbe78

Browse files
committed
fix: set-upstream during pushes by default
1 parent 0546f83 commit 64dbe78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function mergeFromBranch(git, fromBranch) {
157157
* @param {boolean} setUpstream - Whether to set upstream
158158
* @returns {Promise<void>} A promise that resolves when commit and push are complete
159159
*/
160-
function commitAndPush(git, branch, message, setUpstream = false) {
160+
function commitAndPush(git, branch, message, setUpstream = true) {
161161
return new Promise((resolve) => {
162162
const pushOptions = setUpstream ? ['--set-upstream'] : [];
163163

0 commit comments

Comments
 (0)