No, not before any *pushing*.  Before any *committing*!  Don't add **commits** that have syntax errors!