-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
41 lines (41 loc) · 1.18 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
[user]
name = Dacheng Gao
email = successgdc@gmail.com
[color]
ui = true
status = auto
[diff]
tool = vimdiff
algorithm = patience
[core]
editor = nvim
excludesfile = ~/.gitignore_global
quotePath = false
commitGraph = true
[push]
default = simple
[init]
templatedir =
defaultBranch = master
[merge]
renamelimit = 2415
[alias]
s = status --short
l = log --pretty=format:'%C(yellow)%h%Creset - %Cblue%an%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
co = checkout
gl = log --graph --pretty=format:'%Cred%h%Creset - %Cblue%an%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
wtf = "! git log --pretty=tformat:\"%C(auto,yellow)%h%C(auto)%d%C(auto,reset) by %C(auto,blue)%cn%C(auto,reset), %C(auto,cyan)%ar%C(auto,reset)%n %s%n\" --stat"
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
ff = only
[receive]
advertisePushOptions = true
procReceiveRefs = refs/for
[gc]
writeCommitGraph = true
[includeIf "gitdir:~/Repos/xxx/"]
path = ~/.gitconfig.xxx