Table of Contents generated with DocToc
- Save this file to
repo-path/.git/hookswith the nameprepare-commit-msg. - Make it executable using
chmod +x. - Ultimate win every time you use
git commit.
OR in repo directory...
curl https://gist.githubusercontent.com/alechill/499edbefb8d0142bae71/raw/a6d4b07edfc494c472e55b1e2fc190d1fc851876/prepare-commit-msg -o .git/hooks/prepare-commit-message && chmod +x .git/hooks/prepare-commit-message
This file contains hidden or 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
| /**********************************************/ | |
| /* | |
| /* IR_Black Skin by Ben Truyman - 2011 | |
| /* | |
| /* Based on Todd Werth's IR_Black: | |
| /* http://blog.toddwerth.com/entries/2 | |
| /* | |
| /* Inspired by Darcy Clarke's blog post: | |
| /* http://darcyclarke.me/design/skin-your-chrome-inspector/ | |
| /* |
(a gist based on the old toolmantim article on setting up remote repos)
To collaborate in a distributed development process you’ll need to push code to remotely accessible repositories.
This is somewhat of a follow-up to the previous article setting up a new rails app with git.
Set up the new bare repo on the server: