Skip to content

Instantly share code, notes, and snippets.

View scollett's full-sized avatar

Charlie Collett scollett

View GitHub Profile
#!/bin/bash
# By https://gist.github.com/pixelhandler
# Modified by https://gist.github.com/vistik
# Called by "git push" after it has checked the remote status,
# but before anything has been pushed.
#
# If this script exits with a non-zero status nothing will be pushed.
#