Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add gitconfig

  • Loading branch information...
commit 9b2f94a86792a08a70528146f789bfb6d9585d32 1 parent 19aecf3
@jhawthorn authored
Showing with 36 additions and 0 deletions.
  1. +33 −0 git/.gitconfig
  2. +3 −0  git/install.sh
View
33 git/.gitconfig
@@ -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
+
View
3  git/install.sh
@@ -0,0 +1,3 @@
+cd "$( dirname "$0" )"
+ln -sf "$(pwd)/.gitconfig" "$HOME/.gitconfig"
+
Please sign in to comment.
Something went wrong with that request. Please try again.