Categories
CLI

Quick check if merge will break the build

Quickly check from feature branch if merging will break the target branch (e.g. develop):

git merge --no-commit develop
.git/hooks/pre-commit # assuming you added this hook
git merge --abort

Leave a Reply

Your email address will not be published. Required fields are marked *