Today I learned you can show the git status for a specific directory simply by specifying it. e.g., for the current directory:

git status .

#git #dev #devTips

@aral `git log <file name>` is great for looking at all commits that have touched a particular file too!

@mapdirective

@aral

Also try the ’git log -L/start/,/end/:file’ option for the history of a single function or block.

@wpalmer @aral Oh that’s neat! Thanks for sharing!