Skip to content

Instantly share code, notes, and snippets.

@Allan-W-Smith
Created August 29, 2018 01:48
Show Gist options
  • Select an option

  • Save Allan-W-Smith/a40bb3030eb278c0ce0d155082e0f2bf to your computer and use it in GitHub Desktop.

Select an option

Save Allan-W-Smith/a40bb3030eb278c0ce0d155082e0f2bf to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = Allan Smith
email = allan@example.org
[core]
excludesfile = ~/.gitignore
autocrlf = input
editor = /opt/sublime_text/sublime_text
[diff]
tool = bc
guitool = bcompare
[difftool]
prompt = false
renames = copies
[difftool "bc"]
cmd = "bcompare" "$LOCAL" "$REMOTE"
[difftool "bcompare"]
path = "bcompare"
cmd = "bcompare" "$LOCAL" "$REMOTE"
[merge]
tool = bc
[mergetool]
prompt = false
keepBackup = false
[mergetool.bc]
path = "bcompare"
cmd = "bcompare" "$LOCAL" "$REMOTE" "$BASE" "$MERGED"
trustExitCode = true
[alias]
dt = difftool
dtdir = difftool --dir-diff
[help]
autocorrect = 1
[color]
ui = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment