How to Rename a Branch in CLI
Learn how to rename a branch with av cli from Aviator.
Branches created using av branch
should only be renamed with av branch
as well. av
needs to update internal tracking metadata that defines the order of branches within a stack.
Simply use the --rename
or -m
flag.
If you have already created a pull request via av pr
, av
will not rename the branch without the --force
flag.
av
cannot update the remote branch, but you can still force update your local branch name. The remote counterpart will still keep its old name.
Last updated
Was this helpful?