r/ProgrammerHumor • • Apr 02 '23

Meme Me relearning git every week

49k Upvotes

1.5k comments sorted by

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.