-
Notifications
You must be signed in to change notification settings - Fork 0
Branching Strategy
Jeffrey Sadeli edited this page Aug 11, 2024
·
3 revisions
We prefer a rebase workflow. Most work happens directly on the main branch. For that reason, we recommend setting the pull.rebase setting to merges.
git config --global pull.rebase mergesWhich side are you able to read and understand more easily?

- Because you want to be able to easily decipher the order of the commits in your repository.
- Because you want to understand more easily what and when was changed.
- It facilitates finding commits that might have introduced bugs and enable rollback if necessary.
- (With semantic commit messages) to enable automatically extracting release notes, creating a change log.
- To be able to deploy any commit on your development branch using your CI/CD system.
- If you are handling mobile app releases and you are responsible for figuring out what feature is in which release.
- Rebase often. I typically recommend doing it at least once a day.
- Try to squash changes on the same line into one commit as much as possible.
Copyright © PT Samuel Kripto Indonesia. All rights reserved.
- Documentations
- Development Process
- Principles
- Code Convention
- Naming Convention
- Error Message
- Logging
- Release Process