1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2024-12-22 09:13:22 +01:00
dotfiles/gitconfig

75 lines
1.9 KiB
Plaintext
Raw Normal View History

2012-06-18 01:10:31 +02:00
########################################################################
# Le Git Config
########################################################################
[user]
email = m@kretschmann.io
2012-06-18 01:10:31 +02:00
name = Matthias Kretschmann
[github]
user = kremalicious
2014-01-04 16:03:54 +01:00
token = !"cat ~/.auth/github | tr -d \"\n\""
2012-06-18 01:10:31 +02:00
[credential]
helper = osxkeychain
2014-06-16 11:01:31 +02:00
2012-06-18 01:10:31 +02:00
[core]
excludesfile = ~/.gitignore_global
quotepath = false
2014-06-16 11:01:31 +02:00
# Make `git rebase` safer on OS X
# More info: <http://www.git-tower.com/blog/make-git-rebase-safe-on-osx/>
trustctime = false
[alias]
# View abbreviated SHA, description, and history graph of the latest 20 commits
l = log --pretty=oneline -n 20 --graph --abbrev-commit
ll = log --stat --abbrev-commit
# View the current working tree status using the short format
s = status -s
# Clone a repository including all submodules
c = clone --recursive
# Amend the currently staged files to the latest commit
amend = commit --amend --reuse-message=HEAD
# Remove branches that have already been merged with master
# a.k.a. delete merged
dm = "!git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d"
2012-06-18 01:10:31 +02:00
[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
2014-06-16 11:01:31 +02:00
2012-06-18 01:10:31 +02:00
[push]
default = matching
2014-06-16 11:01:31 +02:00
2013-06-25 13:28:47 +02:00
[difftool "Kaleidoscope"]
2014-06-16 11:01:31 +02:00
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
2013-06-20 18:26:10 +02:00
[diff]
2014-06-16 11:01:31 +02:00
tool = Kaleidoscope
2013-06-25 13:28:47 +02:00
[difftool]
2014-06-16 11:01:31 +02:00
prompt = false
2013-06-25 13:28:47 +02:00
[mergetool "Kaleidoscope"]
2014-06-16 11:01:31 +02:00
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
trustExitCode = true
2013-06-25 13:28:47 +02:00
[mergetool]
2014-06-16 11:01:31 +02:00
prompt = false
2013-06-20 18:26:10 +02:00
[merge]
2014-06-16 11:01:31 +02:00
tool = Kaleidoscope