Skip to content

Latest commit

 

History

History
67 lines (45 loc) · 1.92 KB

FLOW.md

File metadata and controls

67 lines (45 loc) · 1.92 KB

Tandem GITFLOW 😎

1. A feature ? Issues

If you want to implement a new feature, please check in issues if there isn't already an occcurence of this feature. If it's not the case :

  • Open an issue
  • Describe what you want to build
  • Add labels to your issue, cf labels list
    • I you want to add labels, contact an admin.
  • Choose a deadline for your issue, do not drop your issues

2. An issue ? A branch

Each issue need to have a corresponding own branch, with issue number, meaning : no branch without issue.

  • For a new feature, branch name start with f/
  • For an edit, branch name start with e/
  • For a refactor, branch name start with r/
  • For a documentation, branch name start with d/
  • For a bug fix, branch name start with bf/

Examples:

  • For issue 1 named Create statistics dashboard : f/statistics-dashboard
  • Or issue 42 named Edit logo on landing page : e/change-logo-landing-page
  • For example a proper branch name: f/init-test-architecture

3. Commits

Commit needs a reference to an issue

For each commit, you need to reference the issues. To do this put # followed by the issue number in your commit message.

Example :

git commit -m 'feat: #2 importe Tandem logo'

A clear commit message

For each commit, respect the commit conventions.

Example to ban: 😠

git commit -m 'bugfix'
git commit -m 'oups'

Example with some class 😎

git commit -m 'chore: #42 add libs for CI'

4. Branches: merge requests & code reviews

NEVER commit on main directly.
Once a feature is ready, create a merge request into dev.
Once merged in dev, create a merge request into main. This on is to be reviewed by 2 peers 👼 👼.

Deletes all unused branches.