Re: Getting git to help my memory
- From
Ben Walton <bwalton@artsci.utoronto.ca>
- Date
- Jul 5, 2011, 23:52 UTC
- Message-ID
- <1309909855-sup-3456@pinkfloyd.chass.utoronto.ca>
- In-Reply-To
- <loom.20110705T232905-603@post.gmane.org>
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