Git rename branch on remote
It's impossible ... but, you can copy a branch then delete the old one. On the remote named origin (the default name), copy the master branch in new main branch. git push origin origin/master:refs/heads/main To delete the old master branch (the : me...
Jul 25, 20241 min read7