Skip to content

Instantly share code, notes, and snippets.

@blackmiaool
Last active June 24, 2018 06:04
Show Gist options
  • Save blackmiaool/6a99591741cf5c03cabd3256435e5d4f to your computer and use it in GitHub Desktop.
Save blackmiaool/6a99591741cf5c03cabd3256435e5d4f to your computer and use it in GitHub Desktop.
git shorthand
alias gls='git status'
alias gdf='git diff'
alias glg='git log'
alias gam='git commit -am'
alias gaa='git add -A :/'
alias np='npm publish'
alias op='xdg-open'
git add -A :/
git commit -am "$1"
git push
npm version patch --force
git add -A :/
git commit -am "$1"
git push
npm publish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment