FrontendDeveloper.in

Git question detail

How do you rename a branch locally and remotely?

Rename locally with git branch -m old new, push the new name, then remove the old remote branch with git push origin --delete old.

Back to all Git questions
Get LinkedIn Premium at Rs 399