Skip to content

Instantly share code, notes, and snippets.

@nmnp
Created April 9, 2015 00:25
Show Gist options
  • Save nmnp/5435566eefb0c4ed9103 to your computer and use it in GitHub Desktop.
Save nmnp/5435566eefb0c4ed9103 to your computer and use it in GitHub Desktop.
git merge dry run
git config --global alias.mergetest '!f(){ git merge --no-commit --no-ff "$1"; git merge --abort; echo "Merge aborted"; };f '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment