View on GitHub

notes

A collection of my TIL notes and commonplace book entries.

Rename branch

Rename current branch:

$ git branch -m <new_name>

Rename another branch

$ git branch -m <branch_name> <new_name>