-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
98 lines (82 loc) · 1.94 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
97
98
[user]
name = nathias
email = [email protected]
username = nath1as
[core]
pager = less -F -X
editor = nvim
excludesFile = .eslintcache
[pull]
rebase = true
[url "[email protected]:"]
insteadOf = gh:
[url "[email protected]:"]
insteadOf = gl:
[url "[email protected]:"]
insteadOf = aur:
[pager]
diff = diff-so-fancy | less --tabs=1,5 -RFX
show = diff-so-fancy | less --tabs=1,5 -RFX
[alias]
l = log -8 --decorate=short --color --format=format:'%C(blue bold)%C(bold cyan)%h%C(reset)%C(reset) %C(black)• %C(black)%an • %C(magenta )\n %C(blue bold)∟► %C(magenta)%s%C(green bold) ✔'
s = "status -s"
d = "status --show-stash --long -v"
a = "add -A"
c = "commit -m"
pls = "commit --no-verify -m"
f = "fetch --all --prune"
ps = "push --progress"
pl = "pull"
sw = "switch"
; jira
ticket = "!f() { git rev-parse --abbrev-ref HEAD | grep -Eo '([A-Z]{3,}-)([0-9]+)' -m 1 ; }; f"
t = "!f() { TICKET=$(git ticket); git commit -m \"$TICKET $1\"; }; f"
; legit
sync = !legit sync
publish = !legit publish
unpublish = !legit unpublish
undo = !legit undo
branches = !legit branches
[color]
diff = always
status = always
branch = always
interactive = always
ui = true
pager = true
[color "diff"]
plain = cyan
meta = green
frag = magenta
old = red bold
new = green bold
commit = cyan bold
whitespace = magenta reverse
[color "branch"]
current = green bold
local = cyan bold
remote = magenta bold
plain = normal bold
[color "status"]
untracked = magenta bold
header = cyan
updated = green
nobranch = red
added = green bold
changed = red bold
[color "grep"]
match = green bold
[color "interactive"]
prompt = magenta bold
header = cyan bold
help = green bold
error = red bold
[color "diff-highlight"]
oldNormal = red bold
[init]
defaultBranch = master
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f