Skip to content

Instantly share code, notes, and snippets.

@mannih
Created April 16, 2012 19:29
Show Gist options
  • Save mannih/2400939 to your computer and use it in GitHub Desktop.
Save mannih/2400939 to your computer and use it in GitHub Desktop.
bash function to disable git ci -am ...
git () {
if [ "$1" = "ci" -a "$2" = "-am" ]; then
curl --silent http://www.trout.me.uk/cgi-bin/mstomatic.cgi | grep h1 | cut -d '>' -f 3 | cut -d '<' -f 1
return 1;
fi
command git $@
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment