Skip to content

Instantly share code, notes, and snippets.

@typpo
Last active August 29, 2015 13:57
Show Gist options
  • Save typpo/9361201 to your computer and use it in GitHub Desktop.
Save typpo/9361201 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = Ian Webster
email = [email protected]
[diff]
tool = vimdiff
[color]
ui = auto
diff = auto
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --no-merges
st = status -suno
c = commit -uno
conflicts = diff --name-only --diff-filter=U
d = diff --ignore-space-at-eol -b -w
[branch]
autosetuprebase = always
[push]
default = current
[core]
editor = /usr/bin/vim
pager = less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment