Created
November 30, 2025 12:05
-
-
Save pa-ulander/aba125a636f560e943284e8a66cf4b6f to your computer and use it in GitHub Desktop.
Test merge before merging. Add mergetest alias to .gitconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [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