-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
76 lines (64 loc) · 1.67 KB
/
.gitconfig
File metadata and controls
76 lines (64 loc) · 1.67 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
[include]
path = ~/.gitcustom.inc
[color]
ui = auto
[color "branch"]
current = yellow bold
local = green bold
remote = cyan bold
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = green bold
changed = yellow bold
untracked = red bold
[alias]
st = status
ci = commit
co = checkout
lg = log --oneline --graph --decorate
lgg = log --all --decorate=short --pretty=format:'%C(yellow)%h%C(reset) %s %C(auto)%d%C(reset)'
br = branch
w = show
dd = difftool --no-symlinks -d
bs = merge-base master HEAD
rh = reset --hard
[core]
editor = nvim -f
[mergetool]
prompt = false
keepBackup = false
keepTemporaries = false
[merge]
tool = winmerge
[mergetool "winmerge"]
name = WinMerge
trustExitCode = true
cmd = "/mnt/c/Program\\ Files/WinMerge/WinMergeU.exe" -u -e -r -fm -wl -dl "Local" -wr -dr "Remote" $(wslpath -aw $LOCAL) $(wslpath -aw $MERGED) $(wslpath -aw $REMOTE)
[diff]
tool = winmerge
[difftool "winmerge"]
name = WinMerge
trustExitCode = true
cmd = "/mnt/c/Program\\ Files/WinMerge/WinMergeU.exe" -u -e -r -wl -wr $(wslpath -aw $LOCAL) $(wslpath -aw $REMOTE)
[safe]
directory = *
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential]
helper = store
[init]
defaultBranch = main