-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
74 lines (58 loc) · 1.45 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[user]
name = Christian Höppner
email = chris@mkaito.net
signingkey = 0x3A7302D87411E61E
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[alias]
co = checkout
cob = checkout -b
b = branch
c = commit
s = status --short
ss = status
p = push
pt = push --follow-tags
pp = push --force-with-lease
ppt = push --force-with-lease --follow-tags
l = log --color --graph --pretty=format:'%G? %Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
recent = ! git reflog | grep -Eio 'moving from ([^[:space:]]+)' | awk '{ print $3 }' | awk ' !x[$0]++' | grep -Ev '^[a-f0-9]{40}$' | head -n5
[core]
excludesfile = /Users/mkaito/.gitignore
autocrlf = input
[push]
default = current
[color]
ui = true
[web]
browser = /usr/bin/firefox
[includeIf "gitdir:~/dev/solarmonkey/"]
path = .gitconfig-solarmonkey
[pager]
tag = false
branch = false
[diff]
renameLimit = 2000
[sendemail]
smtpserver = /usr/bin/msmtp
smtpserveroption=-a
smtpserveroption=mkaito.net
[pull]
rebase = true
[init]
defaultBranch = master
[rebase]
autoSquash = true
[fixup]
commit = true
menu = fzf --height '60%' \
--bind 'tab:toggle-preview' \
--preview 'git show --color {+1}' \
--preview-window=up:80% \
--prompt 'Select commit: '
[maintenance]
repo = /Users/mkaito/dev/solarmonkey/app
# vim: ft=gitconfig