chaitanyagupta / gitutils

Small git utitlies

This URL has Read+Write access

name age message
file LICENSE Fri Aug 21 11:09:58 -0700 2009 Added LICENSE. [chaitanyagupta]
file README Fri Aug 21 10:54:00 -0700 2009 Combined post-checkout and post-merge submodule... [chaitanyagupta]
directory submodule-hooks/ Fri Aug 21 11:09:58 -0700 2009 Attributing scripts to self :) [chaitanyagupta]
README
gitutils
========

submodule-hooks
~~~~~~~~~~~~~~~

* pre-commit -- Check whether any submodule is about to be updated
  with the commit. Ask the user for confirmation. To use, copy to
  $GIT_DIR/hooks/ and make it executable.

* post-merge-checkout -- Check if any submodule has been updated post
  git-merge (git-pull) or a branch checkout. If so, ask if user wants
  to run git-submodule update. To use, copy to
  $GIT_DIR/hooks/post-checkout and/or $GIT_DIR/hooks/post-merge and
  make them executable.