git hooks to run something
- From
- Alf Clement <alf.clement@gmail.com>
- Date
- Mar 24, 2009, 10:56 UTC
- Message-ID
- <556d90580903240356q3a72fd0bwa5ebe335914bc469@mail.gmail.com>
Hi all,
when I switch between branches, I would like like to delete some object files and prepare some setup files. I there a good way to do this automatically when I run "git checkout branch", like misusing a hook to run a make in a special directory? All would happen in my local repository.
Thanks, Alf