The best Git commit hook
Put this in your .git/hooks/pre-commit file and make it executable.
#! /usr/bin/env bash
open -a iTunes http://store.ukd1.co.uk.s3.amazonaws.com/coin.wav || open http://store.ukd1.co.uk.s3.amazonaws.com/coin.wav
Written by Russell Smith
Related protips
1 Response
Is there a way to have it play without it opening itunes or the browser?
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Commit hook
Authors

ukd1
1.781K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#