fuel-docs/plugindocs/fuel-plugin-sdk-guide/create-environment/repository-branching/repository-branching-create...

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:

  1. Ensure you are a core reviewer.
  2. Go to review.openstack.org.
  3. In the Project menu, click Branches.
  4. Enter a new branch name and click the Create branch button. You can leave the Initial revision field blank.
  • repository-branching-delete