-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
44 lines (43 loc) · 1.39 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
# vim: noexpandtab
[user]
name = Chanwoong Kim
email = [email protected]
[core]
autocrlf = false
whitespace = trailing-space
# -X: no screen clear when exit.
# -R:
pager = less -R -X -e
editor = vim
[gui]
encoding = utf-8
[alias]
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold red)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(cyan)<%an>%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold red)%h%C(reset) - %C(bold cyan)%ai%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %C(cyan)<%an>%C(reset)' --all
lgb = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold red)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(cyan)<%an>%C(reset)%C(bold yellow)%d%C(reset)'
lg = !"git lg1"
st = status --ignore-submodule=none
[color]
ui = true
[push]
default = simple
[pull]
rebase = true
[diff]
compactionHeuristic = true
[interactive]
diffFilter = ~/dotfiles/diff-highlight
[pager]
log = ~/dotfiles/diff-highlight | less -R -X -e
show = ~/dotfiles/diff-highlight | less -R -X -e
diff = ~/dotfiles/diff-highlight | less -R -X -e
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[init]
defaultBranch = main
[status]
showStash = true
[include]
path = ~/.gitconfig.local