Created
January 30, 2017 13:51
-
-
Save koddsson/0f3917f4b7c6a9f7aaa2492269875a42 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
git stash save -k "KODDSSON-PRE-COMMIT-STASH" | |
npm run lint | |
git stash apply stash^{/KODDSSON-PRE-COMMIT-STASH} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment