Last active
March 16, 2021 15:25
-
-
Save Icaruk/a279886ab3c52c8dd8467e4fb7522efa to your computer and use it in GitHub Desktop.
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
// package.json | |
{ | |
"scripts": { | |
"devToMaster": "git checkout dev && git pull && git checkout master && git pull && git merge dev && git push && git checkout dev", | |
"mergeTo": "git checkout %npm_config_from% && git pull && git checkout %npm_config_to% && git pull && git merge %npm_config_from% && git push && git checkout %npm_config_from%" | |
} | |
} | |
// npm run devToMaster | |
// npm run mergeTo --from=dev --to=master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment