-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitconfig
40 lines (40 loc) · 891 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
[user]
name = USAMI Kenta
email = [email protected]
[alias]
f = fetch
s = status
l = log --graph
d = diff
ds = diff --staged
c = checkout
c- = !git checkout "$(git branch | peco | cut -d'*' -f2 | xargs)"
b = branch
pr = pull --rebase
psuh = push
delete-merged-branches = !git branch --merged | grep -v \\* | xargs -I % git branch -d %
[core]
excludesfile = ~/.gitexclude
filemode = false
autocrlf = false
precomposeunicode = true
pager = delta
[push]
default = tracking
[github]
user = zonuexe
[pull]
rebase = true
[init]
defaultBranch = master
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[fetch]
showForcedUpdates = true