is-rebase-or-merge

Check if you are in the middle of a rebase or merge. Useful for git hooks

Downloads
1K
Stars
1

Check if you are in the middle of a rebase or merge

Usage

Typically in a Husky commit hook: "pre-commit": "is-rebase-or-merge || do-something"

TODOs

  • Add support for checking if we are in the middle of a cherry-picking session
Package Rankings
Top 25.23% on Npmjs.org
Badges
Extracted from project README
npm version