Skip to content

Instantly share code, notes, and snippets.

@lennybacon
Last active October 11, 2022 06:48
Show Gist options
  • Save lennybacon/e9d478736954d0cfe9ab to your computer and use it in GitHub Desktop.
Save lennybacon/e9d478736954d0cfe9ab to your computer and use it in GitHub Desktop.
.gitconfig with beyondcompare for linux
[core]
excludesfile = ~/.gitignore
autocrlf = input
editor = ~/tools/sublime_text_3/sublime_text
[user]
name = Daniel Fisher
email = info@lennybacon.com
[push]
default = tracking
[http]
sslVerify = true
sslCAinfo = /home/d.fisher/.gitssl.pem
[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
ci = !git add -A && git commit
fuckall = !git clean -d -x -f; git reset --hard
[help]
autocorrect = 1
[color]
ui = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment