-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
60 lines (60 loc) · 1.94 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
57
58
59
60
[user]
name = Janson Hartliep
email = janson@fastmail.fm
signingkey = CFF916850CC95923
[core]
excludesfile = ~/.gitignore
# Make `git rebase` safer on OS X
# More info: <http://www.git-tower.com/blog/make-git-rebase-safe-on-osx/>
trustctime = false
editor = /usr/local/bin/vim
#pager = /usr/local/share/git-core/contrib/diff-highlight/diff-highlight | less -FRSX
[color]
ui = always
diff = auto
status = auto
[alias]
a = !git add --patch && git status
b = branch -avv
c = commit -a
d = log --diff-filter=D -- $1
di = diff --cached
#l = log --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset'
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset %C(cyan)%G? %GK%Creset'
ll = log --stat --abbrev-commit
in = !git fetch && git log --pretty=oneline --abbrev-commit ..@{u}
out = log --pretty=oneline --abbrev-commit @{u}..
publish = push --tags origin :
s = status -sb
t = log --tags --simplify-by-decoration --pretty=format:'%ai%C(cyan)%d %C(yellow)%h %Creset%s %C(white)%an'
refresh = !git fetch --all && git remote prune origin && git checkout master && git pull && git checkout develop && git pull
[commit]
gpgSign = true
[push]
default = simple
[mergetool]
keepBackup = false
prompt = false
[merge]
log = true
tool = Kaleidoscope
conflictstyle = diff3
[branch]
autosetuprebase = local
[mergetool "Kaleidoscope"]
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
trustexitcode = true
[difftool "Kaleidoscope"]
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
[difftool]
prompt = false
[diff]
tool = Kaleidoscope
[commit]
template = /Users/janson/.git-commit-template
[status]
submoduleSummary = true
[github]
user = janson
[ghi]
token = !security find-internet-password -a janson -s github.com -l 'ghi token' -w