Skip to content

Instantly share code, notes, and snippets.

@bernbecht
Created February 29, 2016 21:50
Show Gist options
  • Save bernbecht/e3a738026fe6f17fc75c to your computer and use it in GitHub Desktop.
Save bernbecht/e3a738026fe6f17fc75c to your computer and use it in GitHub Desktop.
Alias
# -------------------------------------------------------------------
# Git
# -------------------------------------------------------------------
alias ga='git add'
alias gp='git push'
alias gl='git log'
alias gs='git status'
alias gd='git diff'
alias gm='git commit -m'
alias gma='git commit -am'
alias gb='git branch'
alias gc='git checkout'
alias gra='git remote add'
alias grr='git remote rm'
alias gpu='git pull'
alias gcl='git clone'
alias gta='git tag -a -m'
alias gf='git reflog'
# leverage an alias from the ~/.gitconfig
alias gh='git hist'
# -------------------------------------------------------------------
# Productivity
# -------------------------------------------------------------------
alias p='cd ~/Projects'
alias st='open -a "Sublime Text"'
alias h='cd /Applications/XAMPP/xamppfiles/htdocs'
alias at='open -a "Atom"'
alias zsh-e='at ~/.zshrc'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment