Skip to content

Instantly share code, notes, and snippets.

@iwillspeak
Last active April 11, 2017 10:16
Show Gist options
  • Save iwillspeak/2008c46ef5fedaebaf05 to your computer and use it in GitHub Desktop.
Save iwillspeak/2008c46ef5fedaebaf05 to your computer and use it in GitHub Desktop.
Git Config Sections
[alias]
stat = status -sb
graph = log --oneline --decorate --graph --topo-order
desc = log -1 --decorate
leaderboard = shortlog -sne
sync = !git pull --rebase && git push
[push]
default = simple
[core]
excludesfile = ~/.gitignore
editor = emacs
autocrlf = true
[diff]
tool = ediff
guitool = ediff
[difftool]
promtp = false
[difftool "ediff"]
cmd = ~/.bin/ediffmerge.sh \"$LOCAL\" \"$REMOTE\"
[merge]
tool = ediff
prompt = false
[mergetool "ediff"]
cmd = ~/.bin/ediffmerge.sh \"$LOCAL\" \"$REMOTE\" \"$MERGED\" \"$BASE\"
trustExitCode = true
[credential]
helper = manager
@iwillspeak
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment