SYNOPSIS

git rename-branch <new_name>
git rename-branch <old_name> <new_name>

DESCRIPTION

Rename the current (or specified) branch, then update all dowstream branches' tracking information to preserve inter-branch dependencies.

SEE ALSO

CHROMIUM DEPOT_TOOLS

Part of the chromium depot_tools(7) suite. These tools are meant to assist with the development of chromium and related projects. Download the tools from here.