Skip to content

Instantly share code, notes, and snippets.

@yaitskov
Created December 11, 2012 20:20
Show Gist options
  • Save yaitskov/4261784 to your computer and use it in GitHub Desktop.
Save yaitskov/4261784 to your computer and use it in GitHub Desktop.
my git aliases
alias ls='ls --block-size=h'
alias man='LANG=en man'
alias emacs='emacs -fg white -bg black -g 80x20'
alias gvim='gvim -geometry=90x7+0+524'
alias gist="git status"
alias giff="git diff"
alias gacm="git commit -a"
alias got="git commit"
alias gba="git branch"
alias gco="git checkout"
function glog() {
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' \
--abbrev-commit --date=relative $@
echo
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment