debian-mirror-gitlab/doc/gitlab-basics/feature_branch_workflow.md
2020-10-24 23:57:45 +05:30

830 B

stage group info disqus_identifier
Create Source Code To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers https://docs.gitlab.com/ee/workflow/workflow.html

Feature branch workflow

  1. Clone project:

    git clone git@example.com:project-name.git
    
  2. Create branch with your feature:

    git checkout -b $feature_name
    
  3. Write code. Commit changes:

    git commit -am "My feature is ready"
    
  4. Push your branch to GitLab:

    git push origin $feature_name
    
  5. Review your code on commits page.

  6. Create a merge request.

  7. Your team lead will review the code & merge it to the main branch.