-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
105 lines (83 loc) · 1.91 KB
/
.gitconfig
File metadata and controls
105 lines (83 loc) · 1.91 KB
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
99
100
101
102
103
104
105
[user]
name = kimmoahola
email = 28525546+kimmoahola@users.noreply.github.com
[core]
editor = nano
filemode = false
trustctime = false
autocrlf = input
excludesFile = /Users/kimmo/.gitignore
[alias]
amend = commit --amend --reuse-message=HEAD
ci = commit
co = checkout
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lp = log --graph --abbrev-commit --patch
patch = !git --no-pager diff --no-color
p = push
pf = push --force
show-ignored = "! git clean -ndX | perl -pe 's/Would remove/Ignored:/'"
st = status
sts = status -sb
unstage = reset HEAD
# Undo last commit, keeping the changes
undo-last-commit = reset HEAD^
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
commit = yellow bold
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[grep]
lineNumber = true
[help]
autocorrect = 1
[difftool]
prompt = false
[mergetool]
prompt = false
[push]
default = simple
followTags = true
[fetch]
prune = true
[diff]
tool = default-difftool
renames = copies
indentHeuristic = true
[difftool "default-difftool"]
cmd = code --wait --new-window --diff $LOCAL $REMOTE
[pull]
ff = only
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[interactive]
diffFilter = delta --color-only
[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
[rebase]
updateRefs = true