Skip to content

Instantly share code, notes, and snippets.

@xkrsz
Last active November 29, 2015 00:21
Show Gist options
  • Save xkrsz/2adf5c78f87a95cd6fa2 to your computer and use it in GitHub Desktop.
Save xkrsz/2adf5c78f87a95cd6fa2 to your computer and use it in GitHub Desktop.
Bash aliases
#System
alias s='sudo'
alias get='sudo apt-get install'
alias updaterino='sudo apt-get update'
alias gtfo='sudo apt-get purge'
#Git
alias gs='git status'
alias ga='git add --all'
alias gc='git commit -am'
alias gb='git branch'
alias gch='git checkout'
alias gt='git tag'
alias gpt='git push --tags'
alias gp='git push'
alias gpull='git pull'
alias gm='git merge'
#SSH connections
###Rails development
#Rails
alias rdm='rake db:migrate'
alias rds='rake db:seed'
alias rdc='rake db:create'
#Capistrano
alias cpd='bundle exec capistrano production deploy'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment