Skip to content

Instantly share code, notes, and snippets.

@eiri
Created March 10, 2016 16:22
Show Gist options
  • Save eiri/40fd3d5304c7a9564d12 to your computer and use it in GitHub Desktop.
Save eiri/40fd3d5304c7a9564d12 to your computer and use it in GitHub Desktop.
[core]
editor = vim
pager = less
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eolpager
[color]
status = auto
branch = auto
diff = auto
interactive = auto
pager = true
ui = true
[alias]
st = status -s
br = branch
df = diff
co = checkout
ci = commit
unstage = reset HEAD --
last = log -p -1
stat = log --stat
lg = log --oneline --decorate --graph --all
l = log --pretty=format:'%Cgreen%h%Creset %C(yellow)%cr%Creset%C(red)%d%Creset %s' -20
[user]
name = Jon Doe
email = [email protected]
[credential]
helper = cache --timeout=3600
[pull]
rebase = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment