Skip to content

Instantly share code, notes, and snippets.

@ahmedghazi
Created April 3, 2020 14:55
Show Gist options
  • Save ahmedghazi/0f1565abe5289a91990338a3c201765c to your computer and use it in GitHub Desktop.
Save ahmedghazi/0f1565abe5289a91990338a3c201765c to your computer and use it in GitHub Desktop.
in package.json
"scripts": {
"dploy": "func() { git add . && git commit -m \"mess - $1\" && git push; }; func",
}
in terminal
npm run dploy -- "message here"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment