-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
57 lines (46 loc) · 1.42 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
[user]
name = Andreas Krohn
email = [email protected]
[alias]
d = diff
dc = diff --cached
lg = "!git lg1 $@"
lg1 = "!f() { git log --graph --abbrev-commit --decorate --format='%C(yellow)%h %C(blue)%ar %Cgreen%an %Creset%s %C(yellow)%d%Creset' --date=relative $@; }; f"
lg2 = "!f() { git log --graph --abbrev-commit --decorate --format='%C(yellow)%h %C(blue)%aD %ar %C(yellow)%d%Creset%n %s %Cgreen%an%Creset' $@; }; f"
lg3 = "!f() { git log --graph --decorate $@; }; f"
ra = rebase --abort
rc = rebase --continue
rs = rebase --skip
sl = stash list
st = status
[color]
ui = true
diff = true
[core]
editor = nvim
[diff]
compactionheuristic = true
tool = vimdiff
[difftool]
prompt = true
[difftool "vimdiff"]
cmd = nvim -d "$LOCAL" "$REMOTE"
[interactive]
diffFilter = diff-highlight
[gui]
fontdiff = -family \"Hasklug Nerd Font Mono\" -size 9 -weight normal -slant roman -underline 0 -overstrike 0
fontui = -family \"Liberation Sans\" -size 8 -weight normal -slant roman -underline 0 -overstrike 0
spellingdictionary = en
[merge]
compactionheuristic = true
tool = vimdiff
[mergetool]
prompt = true
[mergetool "vimdiff"]
cmd = nvim -d "$BASE" "$LOCAL" "$REMOTE" "$MERGED" -c '$wincmd w' -c 'wincmd J'
[push]
default = simple
[url "git://anongit.kde.org/"]
insteadOf = kde:
[url "[email protected]:"]
pushInsteadOf = kde: