864 B
864 B
Create a branch
There are two ways to create a branch, using CLI or using the web UI.
To create a branch using CLI:
git push <remote> <localref>:<remotebranch>
Where:
<remote>
is the name of your Gerrit remote or the full remote URL.<localref>
is the refname; this can be a branch or something else.<remotebranch>
is the name of the branch you want created.
To create a branch using the web UI:
- Ensure you are a core reviewer.
- Go to review.openstack.org.
- In the
Project
menu, clickBranches
. - Enter a new branch name and click the
Create branch
button. You can leave theInitial revision
field blank.
repository-branching-delete