From 41a303df44160557781e30c2aa95c88857b799b4 Mon Sep 17 00:00:00 2001 From: nirenjan Date: Fri, 11 Jan 2013 23:26:53 -0800 Subject: [PATCH] Add base gitconfig --- gitconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 gitconfig diff --git a/gitconfig b/gitconfig new file mode 100644 index 0000000..1ed978e --- /dev/null +++ b/gitconfig @@ -0,0 +1,19 @@ +[color] + diff = auto + status = auto + branch = auto + ui = true +[core] + preloadindex = true + autocrlf = input + safecrlf = true + eol = lf + pager = less -R +[alias] + lg = log --color --pretty=format:'%Cblue%h%Creset - %C(magenta bold)%d%Creset %s %Cgreen(%ar) %C(bold red)<%an>%Creset' --abbrev-commit --no-merges + graph = log --color --pretty=format:'%Cblue%h%Creset - %C(magenta bold)%d%Creset %s %Cgreen(%ar) %C(bold red)<%an>%Creset' --abbrev-commit --graph + ma = checkout master + rb = rebase master + co = checkout + ci = commit +