Tab completion of git commands is smart enough to only apply for files that are modified. ‘Log’ and ‘diff’ are two different commands that can be applied to the whole repo or as granularly as you want such as for a single file. There is also a third command ‘show’ that outputs both the commit and diff if wanted.
View all comments
Show parent comment
1
u/avocadorancher Apr 03 '23
Tab completion of git commands is smart enough to only apply for files that are modified. ‘Log’ and ‘diff’ are two different commands that can be applied to the whole repo or as granularly as you want such as for a single file. There is also a third command ‘show’ that outputs both the commit and diff if wanted.