mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-12-22 09:13:22 +01:00
57 lines
1.3 KiB
Plaintext
57 lines
1.3 KiB
Plaintext
########################################################################
|
|
# Le Git Config
|
|
########################################################################
|
|
|
|
[user]
|
|
email = m@kretschmann.io
|
|
name = Matthias Kretschmann
|
|
[github]
|
|
user = kremalicious
|
|
token = !"cat ~/.auth/github | tr -d \"\n\""
|
|
[credential]
|
|
helper = osxkeychain
|
|
[core]
|
|
excludesfile = ~/.gitignore_global
|
|
quotepath = false
|
|
[color]
|
|
diff = auto
|
|
status = auto
|
|
branch = auto
|
|
interactive = auto
|
|
ui = auto
|
|
[color "branch"]
|
|
current = green bold
|
|
local = green
|
|
remote = red bold
|
|
[color "diff"]
|
|
meta = yellow bold
|
|
frag = magenta bold
|
|
old = red bold
|
|
new = green bold
|
|
[color "status"]
|
|
added = green bold
|
|
changed = yellow bold
|
|
untracked = red
|
|
[push]
|
|
default = matching
|
|
[alias]
|
|
s = status
|
|
a = !git add . && git status
|
|
c = commit
|
|
cm = commit -m
|
|
l = log --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset'
|
|
ll = log --stat --abbrev-commit
|
|
[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
|
|
[mergetool]
|
|
prompt = false
|
|
[merge]
|
|
tool = Kaleidoscope |