Archive for the ‘git’ Category

Up-to-date Manifest with git post-commit hook

Saturday, October 3rd, 2009

I forgot to add project files to my gemspec once too many times. Never again.

$ cat .git/hooks/post-commit
#!/bin/sh
git ls-files > Manifest