Branching Strategy
The default branch will be main which should always be stable and deployable. Changes to main can only occur through PRs.
Branch Naming
feature/new-feature→ corresponds with any new feature that did not exist previouslybugfix/bug-name→ a bugfixexperiment/experiment-name→ for code that won’t get merged in and is just testing out thingsdocs/specific-part→ for adding documentation for somethingchore/update-route-names→ for routine tasks, maintenance or small changes such as updating namingrefactor/part-of-app→ for refactoring a specific part of the codebasetest/specific-functionality→ for adding or improving tests
If there is a bug which does not impact the development of the feature of a branch, do not fix it in that branch. Keep all changes of a single branch for the purpose of the branch, i.e. every single change in a branch should be intentional and purposeful. The purpose of this is to make reviewing PRs easier, all the changes in a PR correspond with what the objective of the PR is.