Skip to content

Instantly share code, notes, and snippets.

@antomor
Created July 28, 2021 17:18
Show Gist options
  • Save antomor/aad1b888b677477b6d9e3f7b3ed38c32 to your computer and use it in GitHub Desktop.
Save antomor/aad1b888b677477b6d9e3f7b3ed38c32 to your computer and use it in GitHub Desktop.
Check merge conflicts
git merge --no-commit --no-ff <BRANCH-TO-MERGE>
echo $?
git merge --abort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment