Re:More Git and GitHub Secrets
by zeckalpha on Wednesday July 24, 2013 @11:39PM
(#6100772)
git stripspace is neat. I'll have to add that as a hook.
[ Parent
| on HN ]
git stripspace is a plus but if you are already considering to add a pre-commit hook, you could directly use 'indent'.
It trims those pesky whitespaces and indent your code automatically the way you see fit. (e.g: https://gist.github.com/eroullit/1250603)
If you use C-family languages?