Last active
January 30, 2020 07:32
-
-
Save josfaber/9ab3ddabc324c792ffd17e1eda8cffa0 to your computer and use it in GitHub Desktop.
Bash aliases for common git and grunt operations
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
alias l="ls -l" | |
alias gf="git fetch" | |
alias gs="git status" | |
alias gfs="git fetch && git status" | |
alias gi="git init && gac 'Initial commit'" | |
alias gp="git push" # + remote & branch names | |
alias gl="git pull" # + remote & branch names | |
alias gpo="git push origin" # + branch name | |
alias glo="git pull origin" # + branch name | |
alias gpom="git push origin master" | |
alias glom="git pull origin master" | |
alias gac="git add . && git commit -m" # + commit message | |
alias gw="grunt watch" | |
alias gb="grunt build" | |
alias sr="npm run serve" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment