from The Git Commands I Run Before Reading Any Code by Ally Piechowski
git log --oneline --since="1 year ago" | grep -iE 'revert|hotfix|emergency|rollback'Similar to Files with most bug related changes, this relies on specific words but one could argue that these are very relevant keywords to look for and can be easily adjusted to your own project’s word usage.