-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
96 lines (94 loc) · 2.39 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
95
96
[user]
name = Vlad Zarytovskii
email = vzaritovsky@hotmail.com
[credential]
helper = store
[github]
user = vzarytovskii
[alias]
co = checkout
cb = !git checkout -b
ps = push
psr = !git push origin $(git rev-parse --abbrev-ref HEAD)
pl = pull
s = status
d = diff
ci = commit
c = clone
f = fetch
l = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
lll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat -p
lg = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lh = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
fr = "!git fetch --all && git rebase origin/master"
amend = "!git add -A && git commit --amend --no-edit"
unstage = reset HEAD --
type = cat-file -t
dump = cat-file -p
[color]
ui = true
[core]
autocrlf = false
safecrlf = false
ignorecase = false
excludesfile = ~/.gitignore
editor = emacs
whitespace = -trailing-space
hooksPath = /home/v/.git-templates/hooks
# pager = delta
[interactive]
# diffFilter = delta --color-only --features=interactive
[delta]
navigate = true
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
[branch]
autosetuprebase = always
[diff]
renames = true
algorithm = patience
mnemonicPrefix = true
wordRegex = .
submodule = log
colorMoved = default
[log]
abbrevCommit = true
follow = true
decorate = false
[status]
short = false
long = true
renames = true
relativePaths = true
showStash = true
showUntrackedFiles = normal
[fetch]
recurseSubmodules = on-demand
[push]
default = simple
[merge "theirs"]
driver = true
[merge]
conflictStyle = diff3
[init]
templatedir = ~/.git-templates
[forge]
remote = upstream
[pull]
rebase = false
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/gh auth git-credential