-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
78 lines (78 loc) · 2 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
[user]
name = Armno
email = [email protected]
useconfigonly = true
signingkey = D53BFB30C401BD32
[merge]
ff = true
[mergetool]
keepBackup = true
[color]
ui = true
[alias]
poh = push origin HEAD
pom = push origin main
undo = reset HEAD~1
ls = log --pretty=format:\"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]\" --decorate
lds = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
ld = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
sup = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative --author=armno
ldm = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --author=armno --no-merges --date=relative
st = status -sb
conflicts = diff --diff-filter=U
fo = fetch origin
mo = merge origin/master
co = checkout
diffm = diff --diff-filter=M
df = diff --staged
cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 git branch -d"
branches = branch -a
diffp = diff ':!package-lock.json'
[color "status"]
added = green
changed = yellow
untracked = red
#[color "diff"]
# meta = blue bold
# frag = magenta bold
# old = red bold
# new = green bold
[core]
editor = vim
autocrlf = false
filemode = false
untrackedCache = true
pager = delta
[advice]
statusHints = false
ignoredHook = false
[push]
default = simple
# [pager]
# diff = diff-so-fancy | less --tabs=1,5 -RFX
# show = diff-so-fancy | less --tabs=1,5 -RFX
[delta]
#plus-color = "#012800"
#minus-style = brightred
syntax-theme = zenburn
features = decorations line-numbers
side-by-side = false
[delta "decorations"]
commit-decoration-style = bold yellow box
file-style = bold yellow ul
file-decoration-style = none
[interactive]
diffFilter = delta --color-only
[fetch]
prune = true
#[commit]
# gpgsign = true
# template = ~/.gitmessage
[gpg]
program = gpg
[pull]
ff = only
[diff]
colorMoved = default
[init]
defaultBranch = main