-
Notifications
You must be signed in to change notification settings - Fork 4
/
.gitconfig
43 lines (43 loc) · 899 Bytes
/
.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
[alias]
br = branch
ci = commit -v
co = checkout
dc = diff --cached --word-diff=color
di = diff --word-diff=color
gl = log --decorate --graph --pretty=oneline
glog = log --decorate --graph
st = status -bs
up = "!git remote update -p; git merge --ff-only @{u}"
[blame]
# cannot set to work optionally.
# ignoreRevsFile = .git-blame-ignore-revs
[color]
ui = auto
[column]
ui = auto
[core]
preloadindex = yes
[diff]
algorithm = minimal
[diff "sqlite3"]
binary = true
textconv = "echo '.dbconfig trusted_schema no\n.dump' | sqlite3"
[init]
defaultBranch = main
[merge]
tool = vimdiff
[pull]
autoSetupRemote = true
rebase = true
[push]
autoSetupRemote = true
default = current
[rerere]
enabled = true
[submodule]
recursive = true
[user]
useConfigOnly = true
#
[include]
path = ~/.gitconfig.local