Skip to content

Commit a7c9907

Browse files
committed
update upstream after renaming master-branch
1 parent f6f3936 commit a7c9907

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rename-master-to-main

+2
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ git branch -m master main
1010
git push origin main
1111
gh api -X PATCH repos/{owner}/{repo} -F default_branch=main --silent
1212
git push origin --delete master
13+
git branch -u origin/main main
14+
git fetch --prune

0 commit comments

Comments
 (0)