jezra is sorry
Hosted by Jezra on 2013-10-29 is flagged as Clean and is released under a CC-BY-SA license.
Tags: git,hook,"pre-commit hook".
Listen in ogg,
mp3 format. | Comments (3)
How many times has Dan asked me to run the spec test before pushing code to staging? probably 5. I'm sorry Dan.
The script I used as my pre-commit hook is available at http://hoof.jezra.net/snip/of
Oh, have I ever mentioned how much I dislike convoluted nomenclature?
When I use 'git add', apparently I am adding a file or a change to the 'index',
and it is the index that gets commited when I run 'git commit'
Comment #1 posted on 2013-10-30T22:05:16Z by Windigo
Gotta love git hooks
Excellent episode! I use git hooks (post-commit) to automatically push any commits to a dev server back into the main repository, and it's been a life saver.
I didn't realize you could cancel a commit with the right exit code, though - thanks for the tip!
Comment #2 posted on 2013-11-03T12:06:58Z by CPrompt
The most interesting coder...
Nice episode jezra!
Here's ya t-shirt :
Comment #3 posted on 2013-11-06T16:34:41Z by jezra
That shirt is awesome! Unfortunately, I think Dan would kill me if I wore that to work.
<< First, < Previous, Next >, Latest >>
Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.
Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).