Skip to content

Instantly share code, notes, and snippets.

View cansadadeserfeliz's full-sized avatar

Vera cansadadeserfeliz

  • Desparchado.co
  • Bogotá
View GitHub Profile
@cansadadeserfeliz
cansadadeserfeliz / pre-commit.sh
Last active August 29, 2015 14:12 — forked from guilherme/gist:9604324
pre-commit hook for git
#!/bin/bash
# Redirect output to stderr.
exec 1>&2
# enable user input
exec < /dev/tty
consoleregexp='console.log'
printregexp='print '
# CHECK