Skip to content

Commit 40840ea

Browse files
fix default github branch name (#4)
1 parent 80af985 commit 40840ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ if (options['dry-run'] && !options.silent) {
195195
} else if (!nbNewCommits && !options.silent) {
196196
console.log('Nothing to do');
197197
} else {
198-
let pushCommand = `cd ${options.destination} && git push origin master`;
198+
let pushCommand = `cd ${options.destination} && git push origin main`;
199199

200200
if (options.force || options.reset) {
201201
pushCommand += ' -f';

0 commit comments

Comments
 (0)