Last Updated: February 25, 2016
·
1.665K
· ukd1

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

1 Response
Add your response

Is there a way to have it play without it opening itunes or the browser?

over 1 year ago ·