# HG changeset patch # User Meredith Howard # Date 1404095897 14400 # Node ID d4856ddaffd9f225925b6167e5e4247acc067279 # Parent 33bb3c3ca08032315e99ce21db7823c83ab1ffcc Add gitconfig, copy brock's aliases since he's an hg fan too diff --git a/.gitconfig b/.gitconfig new file mode 100644 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,18 @@ +[user] + email = mhoward@roomag.org + name = Meredith Howard + +[ui] + color = true + +[core] + pager = LESS='FSRX' less + +[alias] + ci = commit + rec = !sh -c '(git add -p -- $@ && git commit -v ) || git reset' -- + up = !git fetch --all --tags --prune && git pull --rebase + in = "!git remote update -p; git log ..@{u}" + out = log @{u}.. + glog = log --graph --pretty = format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date = relative +