Stories by Yann Eves on Medium · May 7, 2020
How to git diff only for modified files
0Sign in to vote or save
This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.
While doing some diagnostic work today to determine changes within a big directory of code across two versions, I wanted to remove the noise to see only the modified files in a git diff. After a quick search around, I found myself in the Git documentation scrolling through command options. And there I found it , a flag --diff-filter. To diff some changes but only show modified files , use git diff…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.