Skip to content

Instantly share code, notes, and snippets.

@nWidart
Created July 11, 2013 08:40
Show Gist options
  • Select an option

  • Save nWidart/5973680 to your computer and use it in GitHub Desktop.

Select an option

Save nWidart/5973680 to your computer and use it in GitHub Desktop.
my .gitconfig file
[hub]
protocol = ssh
[user]
name = Nicolas Widart
email = n.widart@gmail.com
[color]
status = auto
diff = auto
branch = auto
[mergetool]
keepBackup = false
prompt = false
[credential]
helper = osxkeychain
[alias]
co = checkout
ci = commit
st = status
br = branch
cm = commit -m
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
count = !git shortlog -sn
[difftool "Kaleidoscope"]
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
[diff]
tool = Kaleidoscope
[difftool]
prompt = false
[mergetool "Kaleidoscope"]
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
trustExitCode = true
[merge]
tool = Kaleidoscope
[core]
excludesfile = /Users/Nico/.gitignore_global
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment