-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
55 lines (46 loc) · 1.37 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
[user]
name = Karol Kozłowski
email = karol.z.kozlowski@gmail.com
# set email per repository using:
# git config user.email
[alias]
st = status
ci = commit
co = checkout
b = branch
br = branch -a
p = pull -r -p
l = log --oneline
glog = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
signing-on = !git config user.signingkey B54354144585F02B && git config commit.gpgsign true
signing-off = !git config --unset user.signingkey && git config commit.gpgsign false
permission-reset = !git diff -p -R --no-ext-diff --no-color --diff-filter=M | grep -E \"^(diff|(old|new) mode)\" --color=never | git apply
[color]
ui = auto
[core]
editor = vim
excludesfile = ~/.gitignore-global
#less --quit-if-one-screen --quit-at-eof --chop-long-lines --RAW-CONTROL-CHARS --no-init
pager = "less -F -E -S -R -X"
[tig]
horizontal-scroll = 33% # Scroll 33% of the view width
split-view-height = 80% # Split to 80% of the screen
[mergetool]
prompt = false
[merge]
tool = vimdiff
conflictstyle = diff3
[status]
showUntrackedFiles = all
[push]
default = simple
[diff]
ignore-all-space = true
[pack]
windowMemory = 100m
SizeLimit = 100m
threads = 1
[gpg]
program = gpg2
[init]
defaultBranch = main