Say I have a repository with some commits that have commit messages that start with "Update foo to". I would like to see all file changes in only those commits.
So could the output of git whatchanged
to be filtered to only show commits with commit messages that start with "Update foo to"?
CodePudding user response:
Using git log
is preferred, maybe this answer will help?
To show the full diff using the suggested command from the answer, you could use git log --all -p --grep="Update foo to"