Avoid Committing Dumb Mistakes with Git hooks
TLDR: Git hooks are an awesome way to automatically verify your code as you commit your changes I鈥檓 sure we鈥檝e all been there where we accidentally committed a change that we were supposed to undo or wasn鈥檛 ready to be pushed and don鈥檛 realize it until the build breaks or QA finds a bug. The first step I take to avoid committing anything unintentionally is instead of just running git add -A I make sure to review all the changes in the files I鈥檓 potentially committing....