I have an implementation of Trunk Based Development in Azure Repos as follows:
- Development on short live feature branch - multiple commits
- PR to trunk - merge squash, delete feature branch
- Cherry pick from trunk to release - Azure Repos does a new PR, hence a new commit id
- Merge release branch to master - basic merge preserving history
- Delete release branch after fixes.
Are there tools in Azure Repos or git that would actually allow to check which commits from trunk didn't end up in master?