-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
87 lines (74 loc) · 2.5 KB
/
Copy path.gitconfig
File metadata and controls
87 lines (74 loc) · 2.5 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
[user]
email = dev@nfode.de
name = Nick Fode
signingkey = 814B2DD077ED4155
[include]
path = .gitconfig.local
[cola]
spellcheck = false
theme = default
icontheme = dark
[core]
pager = diff-so-fancy | less --tabs=4 -RFX
editor = nvim
# convert CRLF line endings to LF on commit
autocrlf = input
safecrlf = warn
eol = lf
[gpg]
program = /usr/bin/gpg2
[url "git@github.com:"]
insteadOf = https://github.com/
# git diff: highlighting of lines where only a part has changed
# see https://github.com/git/git/tree/master/contrib/diff-highlight
[color "diff-highlight"]
# the part that has not changed
oldNormal = red bold
newNormal = green bold
# the part that has changed
oldHighlight = red bold 52
newHighlight = green bold 22
[color "diff"]
# whitespaces at the end of the line
whitespace = red reverse
meta = 11
frag = magenta bold
func = 146 bold
commit = yellow bold
old = red bold
new = green bold
# colour of the file header
#meta = 227
# colour of the position in the file (beteen two @)
#frag = magenta bold
# colour of the commit header in git log
#commit = 227 bold
[alias]
lg = !git lg1
lg1 = !git lg1-specific --all
lg2 = !git lg2-specific --all
lg3 = !git lg3-specific --all
clg = !git lg4 --all
lg1-specific = log --graph --abbrev-commit --decorate --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(auto)%d%C(reset)'
lg2-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
lg3-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset) %C(bold cyan)(committed: %cD)%C(reset) %C(auto)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)'
lg4 = log --decorate --date=short --pretty='%h %ad %an %s'
[diff]
tool = meld
[difftool]
prompt = false
[difftool "meld"]
cmd = meld $LOCAL $REMOTE
[merge]
tool = meld
[mergetool "meld"]
cmd = meld $LOCAL $MERGED $REMOTE --output $MERGED
[filesystem "Oracle Corporation|11.0.6|/dev/nvme0n1p6"]
timestampResolution = 5000 nanoseconds
minRacyThreshold = 4762 microseconds
[pull]
ff = only
[color]
ui = true
[safe]
directory = /opt/flutter