Is it possible to rename a remote git branch if work has been pushed to it already?
Master
development-branch
branch 1
branch 2
branch 3
All the above branches have been pushed up to development. Can I rename development-branch to development?
Is it possible to rename a remote git branch if work has been pushed to it already?
Master
development-branch
branch 1
branch 2
branch 3
All the above branches have been pushed up to development. Can I rename development-branch to development?
You can do
git -m development-branch development
more details here https://git-scm.com/docs/git-branch#git-branch--m https://multiplestates.wordpress.com/2015/02/05/rename-a-local-and-remote-branch-in-git/