DEV Community

Discussion on: Essential quality of life terminal improvements

Collapse
 
andrewbrown profile image
Andrew Brown 🇨🇦

These are my aliases if its of interest:

alias gst='git status'
alias co='git checkout'
alias ga='git add'
alias gaa='git add .'
alias gr='git rebase'
alias gpr='git pull --rebase'
alias gp='git pull'
alias gh='git push'
alias gd='git diff | vim'
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gb='git branch'
alias mb='deetsm; expm; middleman build'
alias ms='deetsm; expm; middleman serve -p 8080'
alias gba='git branch -a'
alias rgm='bundle exec rails generate migration'
alias rs='deets; exp; bundle exec rails s -b 0.0.0.0 -p 8080'
alias rc='bundle exec rake db:create'
alias rd='bundle exec rake db:migrate'
alias rdd='bundle exec rake db:drop'
alias rdr='bundle exec rake db:rollback'
alias rad='bundle exec rake db:auto:migrate'
alias rr='rake routes'
alias gsw='git add .; git stash save; git checkout master; git pull; git stash apply'
alias ggco='git rebase --continue'
alias ggcs='git rebase --skip'
alias ggca='git rebase --abort'
alias gsl='git stash list'
alias gsp='git stash pop'
alias gsa='git stash apply'
alias gsc='git stash clear'
alias gbl='git branch list'
alias zz='tar -xzvf'
alias exp='cd /home/ubuntu/environment/exampro'
alias expm='cd /home/ubuntu/environment/exampro-marketing'
alias bi='bundle install'
alias bx='bundle exec'
alias gsoft='git reset --soft HEAD^'
alias rrrr='bundle exec rake db:drop; bundle exec rake db:create; bundle exec rake db:migrate; bundle exec rake db:seed'