From: Alf Clement Date: Tue, 24 Mar 2009 10:56:05 GMT Subject: git hooks to run something 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