← Back to the front page Filed
Renaming a branch, i.e., `master` —> `main`
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
git remote prune origin
■
← Back to the front page Filed
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
git remote prune origin
■