I just renamed my local branch using
git branch -m oldname newname
but this only renames the local version of the branch. How can I rename
The following commands worked for me:
git push origin :old-name-of-branch-on-github git branch -m old-name-of-branch-on-github new-name-for-branch-you-want git push origin new-name-for-branch-you-want