-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
94 lines (73 loc) · 2.1 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[user]
email = [email protected]
name = Ole P. Orhagen
signingkey = 399DBE0F4D4B02EB
[commit]
gpgsign = true
# TODO - https://git-scm.com/docs/git-config#_includes
# Maybe I should start using this (?)
[includeIf "gitdir:~/mimiro-io/**"]
path = ~/.config/git/work
[includeIf "hasconfig:remote.*.url:[email protected]:mimiro-io/**"]
path = ~/.config/git/work
[sendemail]
smtpServer = smtp.gmail.com
smtpServerPort = 587
smtpEncryption = tls
smtpUser = [email protected]
#smtpPass = "fzoo npvf kluq hyuo"
[alias]
lg = log --all --oneline --graph --decorate
a = add
cm = commit
s = status
pr = "!f() { git fetch $1 pull/$2/head:pull_$2; git checkout pull_$2; }; f"
# list files which have changed since REVIEW_BASE
# (REVIEW_BASE defaults to 'master' in my zshrc)
files = !git diff --name-only $(git merge-base HEAD \"${REVIEW_BASE:-master}\")
# Same as above, but with a diff stat instead of just names
# (better for interactive use)
stat = !git diff --stat $(git merge-base HEAD \"${REVIEW_BASE:-master}\")
# Open all the files changed in this PR in emacs
review = !git todo
[color]
ui = auto
[github]
oauth-token = 5f9db8b96623a199d3c30afaddbcc00f7418dac8
user = oleorhagen
[commit]
gpgsign = true
template = /home/olepor/.files/git-commit-template.txt
[core]
editor = vim
excludesFile = ~/.gitignore
[init]
templatedir = ~/.git_templates/template
# [remote "mendersoftware"]
#fetch = +refs/pull/*/head:refs/remotes/mendersoftware/pr/*
[mailmap]
file = /home/olepor/release/3.3.0/integration/extra/gitdm/mailmap
[gpg]
program = gpg2
[pager]
#diff = delta
#log = delta
#reflog = delta
#show = delta
[interactive]
#diffFilter = delta --color-only --features=interactive
[delta]
features = decorations
[delta "interactive"]
keep-plus-minus-markers = false
[delta "decorations"]
commit-decoration-style = blue ol
commit-style = raw
file-style = omit
hunk-header-decoration-style = blue box
hunk-header-file-style = red
hunk-header-line-number-style = "#067a00"
hunk-header-style = file line-number syntax
[pull]
ff = only
rebase = true