4 ms·
git stripspace is neat. I'll have to add that as a hook.
by zeckalpha 13y ago
git stripspace is neat. I'll have to add that as a hook.
- zalew 13y agoyeah, it's awesome. I had no idea this existed.
- eroullit 13y agogit 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 https://gist.github.com/eroullit/1250603)
- zeckalpha 13y agoIf you use C-family languages?