Skip to content

Instantly share code, notes, and snippets.

@huiyonghkw
Last active March 26, 2017 03:14
Show Gist options
  • Save huiyonghkw/d199296f345311810a6c9eb7879e23cd to your computer and use it in GitHub Desktop.
Save huiyonghkw/d199296f345311810a6c9eb7879e23cd to your computer and use it in GitHub Desktop.
source ~/.alias
alias gs="git status"
alias gpd="git push origin develop"
alias gpm="git push origin master"
alias gcom="git checkout master"
alias gcod="git checkout develop"
alias gb="git branch"
alias gc="git commit -m"
alias gaa="git add ."
alias gpd="git pull origin develop"
alias gpm="git pull origin master"
alias nano="subl"
alias cat=ccat
alias tinker="php artisan tinker"
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit "
@huiyonghkw
Copy link
Author

loading it with source ~/.alias into .bash_profile or .zshrc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment