News for hackers. Stuff that matters.
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.
Re:More Git and GitHub Secrets by eroullit on Thursday July 25, 2013 @05:16AM (#6101569)
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)
Re:More Git and GitHub Secrets by zeckalpha on Thursday July 25, 2013 @08:52AM (#6102139)
If you use C-family languages?
Re:More Git and GitHub Secrets by zalew on Thursday July 25, 2013 @12:00AM (#6100837)
yeah, it's awesome. I had no idea this existed.