@aral Not just folders, but files too!
Edit: Wait no, I was thinking of git diff ^_^
@aral Not just folders, but files too!
Edit: Wait no, I was thinking of git diff ^_^
Also try the ’git log -L/start/,/end/:file’ option for the history of a single function or block.
@aral
As this thread is turning into a "git options you might not know" free-for-all, I'd like to mention my personal favourites: ’git add -p’, which makes the "add, then commit" workflow actually make sense; and ’git rebase -i’, which can re-order your commits to "tell a story" which is more-readable, before you raise them as a PR (makes more sense with git add -p).
And just for fun: have a read through ’git help rev-parse’. If you haven't before, you're bound to find something useful in there