Last active
April 10, 2019 14:19
-
-
Save igorescobar/4502738 to your computer and use it in GitHub Desktop.
Git alias to run your maven tests before push your changes to remote
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
git config alias.spush='!sh -c "mvn clean test && git push \$1 \$2 \$3"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git config alias.spush '!sh -c "mvn clean test && git push $1 $2 $3"'
just without = it will work great