Check if you are in the middle of a rebase or merge. Useful for git hooks
Check if you are in the middle of a rebase or merge
Typically in a Husky commit hook: "pre-commit": "is-rebase-or-merge || do-something"
"pre-commit": "is-rebase-or-merge || do-something"