Created
February 19, 2014 14:45
-
-
Save matthojo/9093519 to your computer and use it in GitHub Desktop.
My Terminal alias
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------------------------------------------------------------------- | |
# General | |
# ------------------------------------------------------------------- | |
alias op='open .' | |
# ------------------------------------------------------------------- | |
# Git | |
# ------------------------------------------------------------------- | |
alias ga='git add' | |
alias gp='git push' | |
alias gl='git log' | |
alias gpl="git log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" | |
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 gcb='git checkout -b' | |
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' | |
alias gv='git log --pretty=format:'%s' | cut -d " " -f 1 | sort | uniq -c | sort -nr' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice!