GitLab Flow
GitLab Flow prevents the overhead of releasing, tagging, and merging to streamline development
Comparison
- What is the best Git branch strategy? by GitKraken
Best practices
- Use feature branches rather than direct commits on the main branch
- Test all commits, not only ones on the main branch
- Run every test on all commits
- Perform code reviews before merging into the main branch
- Deployments are automatic based on branches or tags
- Tags are set by the user, not by CI
- Releases are based on tags
- Pushed commits are never rebased
- Everyone starts from main and targets main
- Fix bugs in main first and release branches second
- Commit messages reflect intent
Source: about.gitlab.com/version-control/what-are-gitlab-flow-best-practices