-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
71 lines (71 loc) · 1.78 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
[user]
name = Arash Mousavi
email = [email protected]
signingkey = ~/.ssh/id_ed25519_sign_key.pub
[color]
ui = auto
diff = auto
status = auto
branch = auto
interactive = auto
pager = true
[color "status"]
added = green
changed = yellow
untracked = red
[alias]
up = pull --rebase --stat
blog = log --pretty=format:\"%h %ad %G? | %s%d [%an]\" --graph --date=short
latest = for-each-ref --count=10 --sort=-committerdate --format='%(committerdate:short) %(refname:short)'
# see changes in latest pull
pulled = log --pretty=format:\"%h %ad | %s%d [%an]\" --date=short --reverse --no-merges --stat @{1}..
pull = pull --rebase --stat
[push]
default = tracking
auto-setup-remote = true
autoSetupRemote = true
[core]
editor = nvim
excludesFile = ~/.gitignore
ignorecase = true
[giggle]
main-window-view = FileView
history-view-vpane-position = 262
main-window-maximized = true
main-window-geometry = 254x52+2+32
file-view-vpane-position = 189
[rebase]
autosquash = true
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[delta]
features = side-by-side line-numbers decorations
whitespace-error-style = 22 reverse
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
[interactive]
diffFilter = delta --color-only
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[commit]
gpgsign = true
[pull]
rebase = true
[gpg]
format = ssh
[gpg "ssh"]
allowedSignersFile = ~/.config/git/allowed_signers
[init]
defaultBranch = main
[credential "https://github.com"]
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper = !/usr/bin/gh auth git-credential