Last active
June 24, 2018 06:04
-
-
Save blackmiaool/6a99591741cf5c03cabd3256435e5d4f to your computer and use it in GitHub Desktop.
git shorthand
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
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' |
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
git add -A :/ | |
git commit -am "$1" | |
git push |
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
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