mohanadarafe / GuideMe

SOEN 390 | Winter 2020 | Mini Capstone
7 stars 5 forks source link

Add git Pre-push/Pre-commit hooks #114

Closed bkenza closed 4 years ago

bkenza commented 4 years ago

Pre hooks run a shell command which you specify and if the command fails with exit status 1, the process will get terminated. We store the shell commands inside the .git/hooks directory of the root of the project.

bkenza commented 4 years ago

Closing this issue because we could not make pre-commit hooks work with Travis CI.