Last active
March 16, 2017 16:47
-
-
Save blip-lorist/e0f819433b87dbb198533fd93688dcbf to your computer and use it in GitHub Desktop.
Breakpoint check before git push
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add to your .bash_profile or .bash_aliases | |
alias gp='if grep -r --exclude-dir={.git,tmp,log,coverage,public} -Hn binding.pry .; then echo Please remove breakpoints in the above files; else git push; fi' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment