O'Reilly logo

GitLab Repository Management by Jonathan M. Hethey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Feature branch

This part will describe the workflow for creating multiple branches, one per feature. When considered done, these branches will be merged back into the master branch.

In the typical workflow for feature branches, a developer creates a new branch in the project. This is easily achieved by the following terminal commands:

    git branch FeatureName
    git checkout FeatureName
    # make your changes
    git push origin FeatureName

After that, a new branch will appear in the web view of GitLab and the development of the feature of the branch functionality will be tracked separately. When considered done, the respective developer will open a merge request, typically to the master branch. This will of course vary with the requirements and structure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required