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
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