-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
83 lines (65 loc) · 1.6 KB
/
Copy path.gitconfig
File metadata and controls
83 lines (65 loc) · 1.6 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
77
78
79
80
81
82
83
[user]
name = kylinfish
email = kylinfish@gmail.com
[core]
editor = vim
excludesfile = ~/.gitignore_global
pager = diff-so-fancy | less --tabs=4 -RFX
[pull]
rebase = true
[push]
default = simple
autoSetupRemote = true
followTags = true
[fetch]
prune = true
pruneTags = true
all = true
[alias]
cm = commit -a
br = branch
st = stash
co = checkout
cp = cherry-pick
lg = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
lg1 = log --graph --date=iso --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cd) %C(bold blue)<%an>%Creset'
[branch]
sort = -committerdate
[tag]
sort = version:refname
[init]
defaultBranch = main
[color]
ui = auto
diff = auto
status = auto
branch = auto
[color "branch"]
current = yellow 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 = magenta bold
untracked = red bold
[diff]
algorithm = histogram
colorMoved = plain
mnemonicPrefix = true
renames = true
[url "https://"]
insteadOf = git://
[url "https://github.com/"]
insteadOf = git://github.com/
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[url "git@github.com:"]
insteadOf = https://github.com/