gitlab-org--gitlab-foss/doc/gitlab-basics/create-branch.md
Marcel Amirault 7f18248aa6 First pass to bring /gitlab-basics to SSoT standards
Removes duplicated information, and combines sections and files
together when they are duplicated or highly related. Also adds
intros to all pages and sections missing intros, and troubleshooting
sections to pages that may need them in the future. Links more to
other docs, and clarifies language when abosolutely necessary, and
adds angle brackets to sample parameters.
2019-07-30 05:02:59 +00:00

681 B

type
howto

How to create a branch

A branch is an independent line of development in a project.

When you create a new branch (in your terminal or with the web interface), you are creating a snapshot of a certain branch, usually the main master branch, at it's current state. From there, you can start to make your own changes without affecting the main codebase. The history of your changes will be tracked in your branch.

When your changes are ready, you then merge them into the rest of the codebase with a merge request.