Skip to content

Instantly share code, notes, and snippets.

@jaimeguzman
Forked from andypost/.gitconfig
Last active August 29, 2015 14:23
Show Gist options
  • Select an option

  • Save jaimeguzman/6a9de2a06418b225cdbb to your computer and use it in GitHub Desktop.

Select an option

Save jaimeguzman/6a9de2a06418b225cdbb to your computer and use it in GitHub Desktop.
[color]
ui = auto
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[core]
whitespace=fix,-indent-with-non-tab,-indent-with-tab,trailing-space,cr-at-eol
editor = mcedit
preloadindex = true
autocrlf = false
safecrlf = false
ignorecase = false
excludesfile = ~/.gitignore
[push]
default = tracking
[diff]
renames = copies
[alias]
b = branch
ba = branch -a
co = checkout
ci = commit
df = !git diff --no-prefix && git diff --staged --no-prefix
cl = reset --hard
st = status -uno
diffup = !git log --oneline --reverse @{u}... && git diff 8.x... > $1 && git diff @{u} > interdiff.txt && echo
[apply]
whitespace = nowarn
[branch]
autosetuprebase = always
[grep]
lineNumber = true
[merge]
defaultToUpstream = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment