From: Ben Walton Date: Tue, 05 Jul 2011 23:52:53 GMT Subject: Re: Getting git to help my memory Message-ID: <1309909855-sup-3456@pinkfloyd.chass.utoronto.ca> In-Reply-To: Excerpts from Evan Driscoll's message of Tue Jul 05 17:34:18 -0400 2011: Hi Evan, > The best way I can think of is to put a post-commit hook in there. I > haven't tried it but I'd assume it would work, but would have to be > on a per-repository basis instead of global. I use this script as a post-commit hook in a few places... --snip-- #!/bin/bash echo -e "\e[32;01m" echo "Don't forget to \`git push\` this..." echo -e "\e[0m" --snip-- HTH. -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302