git-rename-branch

Rename a Git branch.

TLDR

Rename the branch you are currently on

$ git rename-branch [new_branch_name]
copy

Rename a specific branch

$ git rename-branch [old_branch_name] [new_branch_name]
copy

Copied to clipboard
Dodo Farming