Created
March 4, 2020 14:40
-
-
Save mariuskroh/812f05549760c5664709b3277a57a74c to your computer and use it in GitHub Desktop.
Npm script for pushing to github with custom commit message
This file contains 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
"scripts": { | |
"git": "git add . && git commit -m", | |
"postgit": "git push --all" | |
}, | |
//npm run git -- "Message of the commit" | |
//or | |
//npm run git -- Message |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment