GitSwarm-EE 2017.1-1 Documentation


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 GitSwarm:

    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.

Note: For performance reasons, it is better to clone from a repo via SSH instead of HTTP(S). GitSwarm EE maintains a limited pool of web worker processes, and each HTTP(S) push/pull/fetch operation ties up a worker process until completion.