]> code.delx.au - dotfiles/blob - .gitconfig
git: added useful aliases
[dotfiles] / .gitconfig
1 [user]
2 name = James Bunton
3 email = jamesbunton@delx.net.au
4 [color]
5 ui = always
6 [core]
7 pager = less -+F -+X
8 editor = vim
9 [log]
10 decorate = full
11 [alias]
12 graphlog = log --graph --pretty=format:'%C(bold black)%h%Creset %C(bold red)%ad %C(bold blue)%s%Creset %C(bold yellow)%d%Creset %C(bold black)<%an>%Creset' --date=short
13 ci = commit
14 co = checkout
15 st = status
16 di = diff
17 diw = diff --color-words
18 dic = diff --cached
19 dicw = diff --cached --color-words
20 ff = merge --ff-only