git-dev-branch
Playground to see commit graph in real.
To test
The following scenario:
gitGraph
commit
branch develop
branch featA
branch featB
branch featC
checkout featA
commit
commit
checkout featB
commit
commit
commit
checkout featC
commit
commit
commit
commit
checkout develop
merge featA
merge featB
merge featC
commit
checkout main
merge develop
commit
commit
Mhhhh
Not the nicest git-graph:
The single branches should be updated before merging.
- Settings
- Always suggest updating pull request branches
- Branches
- Protection rules
- Require a pull request before merging
- Require status checks to pass before merging
- Require branches to be up to date before merging
- Protection rules
Further details: https://github.blog/changelog/2022-02-03-more-ways-to-keep-your-pull-request-branch-up-to-date/
-> may I must ensure this for explicit topic branches in my environments.