Skip to content

Commit

Permalink
add gitconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
jhawthorn committed May 11, 2012
1 parent 19aecf3 commit 9b2f94a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
33 changes: 33 additions & 0 deletions git/.gitconfig
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,33 @@
[user]
name = John Hawthorn
email = john.hawthorn@gmail.com
[github]
user = jhawthorn
[merge]
tool = vimdiff
[color]
ui = auto
diff = auto
status = auto
branch = auto
interactive = auto
grep = auto
[advice]
statusHints = false
[diff]
renames = copies
[push]
default = upstream
[difftool]
prompt = false
[core]
excludesfile = /home/jhawthorn/.gitignore
whitespace = trailing-space,space-before-tab
quotepath = false
autocrlf = input
[alias]
l = log --oneline --decorate
lg = log --graph --pretty=format:'%Cred%h%Creset %an -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
[apply]
whitespace = fix

3 changes: 3 additions & 0 deletions git/install.sh
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,3 @@
cd "$( dirname "$0" )"
ln -sf "$(pwd)/.gitconfig" "$HOME/.gitconfig"

0 comments on commit 9b2f94a

Please sign in to comment.