iftest"$(git diff --cached | grep '\+.*binding\.pry')"thenecho"Error: Attempt to commit a binding.pry line"echoecho"To skip this check, add the --no-verify option"echoexit1fiiftest"$(git diff --cached | grep '\+.*byebug')"thenecho"Error: Attempt to commit a byebug line"echoecho"To skip this check, add the --no-verify option"echoexit1fi
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.