Last active
June 26, 2018 00:53
-
-
Save mandemeskel/0efedb590f3bd22012f504ce42525199 to your computer and use it in GitHub Desktop.
Aliases for common commands: git, bundle, rails, postgres...
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
# git | |
alias gs='git status' | |
alias gd='git diff' | |
alias gco='git commit' | |
alias gch='git checkout' | |
alias gcl='git clone' | |
alias gpl='git pull' | |
alias gps='git push' | |
alias gf='git fetch' | |
alias gb='git branch' | |
# bundle | |
alias be='bundle exec' | |
alias br='bundle exec rails' | |
alias brs='bundle exec rails server' | |
alias bk='bundle exec rake' | |
alias bs='bundle exec rspec' | |
alias bi='bundle install' | |
# rails | |
alias rc='rails console' | |
# postgres | |
alias ps='psql -U $LOGNAME' | |
alias psp='ps postgres' | |
# appengine | |
alias dev='dev_appserver.py app.yaml' | |
# virtualenv | |
alias senv='source env/bin/activate' | |
alias src='source' | |
alias dec='deactivate' | |
# python | |
alias py='python' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment