Renaming branches remotely in Git
You just have to create a new local branch with the desired name, push it to your remote, and then delete the old remote branch: $ git branch new-branch-name origin/old-branch-name $ git push origin –set-upstream new-branch-name $ git push origin :old-branch-name Then, to see the old branch name, each client of the repository would have … Read more