-
Notifications
You must be signed in to change notification settings - Fork 2
/
gitconfig
executable file
·51 lines (50 loc) · 1.35 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
[user]
name = skittlyoaten
email = [email protected]
[color]
ui = true
[alias]
mylog = log --pretty=format:'%C(yellow)%h%Creset %C(bold blue)<%an>%Creset %C(red)%d%Creset %s %Cgreen(%cr) ' --abbrev-commit --date=short --branches
s = status
sb = status -sb
undo = reset --soft HEAD~1
[core]
excludesfile = ~/.gitignore
#editor = subl -n -w
editor = code --wait
ignorecase = false
trustctime = true
[push]
default = current
[help]
autocorrect = 15
# [diff]
# tool = diffmerge
# [difftool "diffmerge"]
# cmd = /usr/local/bin/diffmerge \"$LOCAL\" \"$REMOTE\"
# [merge]
# tool = diffmerge
# [mergetool "diffmerge"]
# cmd = /usr/local/bin/diffmerge --merge --result=\"$MERGED\" \"$LOCAL\" \"$BASE\" \"$REMOTE\"
# trustExitCode = true
# [merge]
# tool = sublimerge
# [mergetool "sublimerge"]
# cmd = subl -n --wait \"$REMOTE\" \"$BASE\" \"$LOCAL\" \"$MERGED\" --command \"sublimerge_diff_views\"
# trustExitCode = false
# [diff]
# tool = sublimerge
# [difftool "sublimerge"]
# cmd = subl -n --wait \"$REMOTE\" \"$LOCAL\" --command \"sublimerge_diff_views {\\\"left_read_only\\\": true, \\\"right_read_only\\\": true}\"
[merge]
tool = vscode
[mergetool]
keepBackup = false
[mergetool "vscode"]
cmd = code --wait --new-window $MERGED
[diff]
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff --new-window $LOCAL $REMOTE
[rerere]
enabled = true