On Tue, Mar 24, 2009 at 11:56:05AM +0100, Alf Clement wrote: > 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. There is a post-checkout hook; see "git help hooks" for details. You could also make an alias; see the documentation for "alias.*" in "git help config". -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html