Skip to content

Useful git commands

Dominique edited this page Jan 30, 2020 · 1 revision

To change the name of a remote branch:

  1. change the name of your local branch: git branch -m my-new-branch-name

  2. push the new branch on top of the old one: git push origin :old-branc-name my-new-branch-name

Clone this wiki locally