-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
56 lines (45 loc) · 1.27 KB
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[user]
name = Krzysztof Urbaniak
email = [email protected]
signingkey = 52AF43F99564338C
[apply]
whitespace = fix
[core]
excludesfile = ~/.gitignore
whitespace = space-before-tab,trailing-space,cr-at-eol,blank-at-eof,blank-at-eol
autocrlf = input
filemode = true
logallrefupdates = true
editor = vim
[branch]
autosetuprebase = always
[push]
default = current
[alias]
co = checkout
dh = diff HEAD^
dm = diff master
lg = log --date=relative --pretty=format:'%Cred%h%Creset %an - %s (%Cgreen%ad%Creset)'
sb = status -sb
unstage = reset HEAD --
st = status
ci = commit
br = branch
last = log -1 HEAD
cleanup = !git branch --merged master | grep -v 'master$' | xargs git branch -d
[color]
diff = auto
status = auto
branch = auto
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
# fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
[credential]
helper = osxkeychain
[difftool "Kaleidoscope"]
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
[mergetool "Kaleidoscope"]
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
trustexitcode = true
[fetch]
prune = true