Created
March 18, 2017 08:11
-
-
Save JJ/73b214eddc386e6d0b3e957e83857e0b to your computer and use it in GitHub Desktop.
Conditional commit if spelling is correct
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
.PHONY = commit | |
status: | |
-git status -s | grep . && touch status | |
commit: status | |
rm status; make -f 3.mk | |
git commit -am "$(msg)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment