Skip to content

Instantly share code, notes, and snippets.

@Moddus
Last active August 29, 2015 13:57
Show Gist options
  • Save Moddus/9659810 to your computer and use it in GitHub Desktop.
Save Moddus/9659810 to your computer and use it in GitHub Desktop.
# commands
alias lsa='ls -lah'
alias l='ls -lah'
alias ll='ls -lh'
alias la='ls -lAh'
alias sl=ls # often screw this up
alias ..='cd ..'
alias ...='cd ../..'
alias less='less -N'
# git
alias gs='git status'
alias gd='git diff'
alias glog='git log'
alias gca='git commit -v -a'
alias gl='git pull'
alias gp='git push'
alias gpb='git push --set-upstream origin HEAD' # Push local branch to remote
alias gco='git checkout'
########################## MAC ############################
# brew
#alias bru="brew update"
#alias brd="brew doctor"
#alias brl="brew link"
#alias brup="brew upgrade"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment