diff - git blame only commits on feature-branch after master? - Stack Overflow

admin2025-04-17  2

If I've branched off master onto feat-branch, can I run git blame on a file and only highlight/emphasize lines changed in commits after I diverged from master?

This would be helpful for when I am rebasing my feat-branch, to squash certain commits together, to clean up my log to make it easier to review.

Otherwise, I am scrolling through git log -p file which works, but is a bit harder to comprehend where the changes are spatially in the file.

转载请注明原文地址:http://anycun.com/QandA/1744850771a88503.html