| gerrit create-branch - Create a new branch. |
| _ssh_ -p <port> <host> _gerrit create-branch_ |
| Creates a new branch for a project. |
| Caller should have link:access-control.html#category_create[Create Reference] |
| permission on the project. |
| Administrators do not automatically have permission to create branches. It must |
| be granted via the Create Reference permission. |
| This command is intended to be used in scripts. |
| Required; name of the project. |
| Required; name of the branch to be created. |
| Required; base revision of the new branch. |
| Create a new branch called 'newbranch' from the 'master' branch of |
| $ ssh -p 29418 review.example.com gerrit create-branch myproject newbranch master |
| Part of link:index.html[Gerrit Code Review] |