Git has several hooks that you can configure. Personally use two: one to prevent me from accidentally --force push
ing to master
and this one to keep me from checking in binding.pry
s:
#!/usr/bin/env ruby
# Checks staged files for disallowed additions
class PreCommitHandler
def handle