Rename a branch - noverkill/classified-ads-script GitHub Wiki

  1. Checkout the project to your local machine
  2. Go to project directory
  3. Enter the following git commands
    git checkout oldbranchname
    git branch -m oldbranchname newbranchname
    git push origin :oldbranchname
    git push origin newbranchname
  4. That's all, well done :)