-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitconfig
More file actions
88 lines (69 loc) · 1.95 KB
/
.gitconfig
File metadata and controls
88 lines (69 loc) · 1.95 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
84
85
86
87
88
[user]
email = mnthe.dev@gmail.com
name = JungHun Kim
# signingkey =
[commit]
# gpgsign = true
[tag]
# gpgsign = true
[rerere]
enabled = true
[help]
autocorrect = 1
[color]
ui = auto
[core]
eol = lf
safecrlf = warn
autocrlf = input
excludesfile = ~/.gitignore
whitespace=-indent-with-non-tab,trailing-space,cr-at-eol
[push]
default = current
autoSetupRemote = true
followTags = true
[pull]
rebase = true
[fetch]
prune = true
pruneTags = true
[core]
editor = code --wait
[diff]
mnemonicPrefix = true
renames = true
wordRegex = .
submodule = log
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
[merge]
renames = true
tool = vscode
[mergetool "vscode"]
cmd = code --wait --merge $REMOTE $LOCAL $BASE $MERGED
[pack]
packSizeLimit = 100m
threads = 1
deltaCacheSize = 512m
windowMemory = 100m
[alias]
s = status -s
undo = reset --soft HEAD^
staash = stash save --include-untracked
l = log --graph --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(red)- %an%C(reset)%C(bold yellow)%d%C(reset)'
pp = "!f() { git pull --rebase && git push $@; }; f"
pu = "! [ -z $(git config \"branch.$(git symbolic-ref --short HEAD).merge\") ] && git push -u origin $(git symbolic-ref --short HEAD) || git push"
ro = "!f() { if [ ! -z "$1" ]; then git fetch && git rebase origin/$@; else echo $'No branch specified, doing nothing.'; fi }; f"
rpu = "!f() { if [ ! -z "$1" ]; then git fetch && git rebase origin/$@ && git pu; else echo $'No branch specified, doing nothing.'; fi }; f"
[tag]
sort = version:refname
[versionsort]
prereleaseSuffix = -pre
prereleaseSuffix = .pre
prereleaseSuffix = -alpha
prereleaseSuffix = .alpha
prereleaseSuffix = -beta
prereleaseSuffix = .beta
prereleaseSuffix = -rc
prereleaseSuffix = .rc