On Wednesday, September 25, 2013 at 04:26 EDT,
Chinmay DasMohapatra <
chinmay.da...@gmail.com> wrote:
> Is there any way i can by-pass the commit hooks while doing a
> cherry-pick from some other branch?
The -n/--no-verify option to 'git commit' inhibits the pre-commit and
commit-msg hooks. See git-commit(1). When doing a cherrypick I suppose
you have to use its -n option too to avoid creating the commit, i.e. the
sequence becomes:
git cherry-pick -n $COMMIT
git commit -n
--
Magnus Bäck
ba...@google.com