Skip to content

Commit 13a2790

Browse files
committed
feat: further improvements to rename-master-to-main
1 parent a7c9907 commit 13a2790

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rename-master-to-main

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ gh api -X PATCH repos/{owner}/{repo} -F default_branch=main --silent
1212
git push origin --delete master
1313
git branch -u origin/main main
1414
git fetch --prune
15+
git config init.defaultBranch main

0 commit comments

Comments
 (0)