= Git = * git tree >> alias {{{ ~/.gitconfig file: [alias] tree = log --graph --pretty='%C(yellow)%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr - %ad) %C(bold blue)<%an>%Creset' --all }}} == Set seperate default and private git email == * Default config in home dir ~/.gitconfig {{{ # ~/.gitconfig [user] name = email = @.com [includeIf "gitdir:~/github/"] path = ~/github/.gitconfig-github }}} * Override for repos under ~/github/ ~/github/.gitconfig-github {{{ [user] name = "" email = @vigor.nz }}}