Skip to content

Instantly share code, notes, and snippets.

@picklepumpers
Created September 23, 2010 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save picklepumpers/594050 to your computer and use it in GitHub Desktop.
Save picklepumpers/594050 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Test It
# Simple script to force git commits when testing git hook scripts.
# Obviously not to be used on a production repository.
if [ -f "dummy" ]; then
rm dummy
else
touch dummy
fi
git add .
git commit -am "testing"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment