Skip to content

Instantly share code, notes, and snippets.

@maerzbow
Created July 18, 2011 19:57
Show Gist options
  • Save maerzbow/1090487 to your computer and use it in GitHub Desktop.
Save maerzbow/1090487 to your computer and use it in GitHub Desktop.
My bash aliases
# aliases
alias l="ls -l"
alias ll="ls -alh"
alias ..="cd .."
alias ...="cd ../.."
alias psa="ps aux"
alias rmr="rm -r"
alias cl="clear"
alias mdr="mkdir -p"
alias duh="du -h"
alias hh="history | grep"
alias curlo="curl -O"
alias grep='grep --color'
# Git aliases for bash
alias gst='git status'
alias gl='git pull'
alias gp='git push'
alias gd='git diff | mate'
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gb='git branch'
alias gba='git branch -a'
alias gco='git checkout'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment