-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
50 lines (50 loc) · 1.04 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
45
46
47
48
49
50
[user]
name = Wataru TOYA
email = [email protected]
[core]
excludesfile = ~/.gitignore
editor = vim -u NONE -i NONE -N -c 'syntax on'
[diff]
algorithm = histogram
[push]
default = current
[alias]
st = status --branch --short
tst = st
s = st
lop = log -p
ca = commit -av
ci = commit -v
ap = add -p
br = branch
co = checkout
com = checkout master
df = diff
dc = diff --cached
pr = pull --rebase
gg = grep -H --heading --break --color
puhs = push
psuh = push
pus = push
puh = push
vim = !git ls-files | fzf | xargs -o code
delete-merged = !git branch --merged | grep -v -e \\* -e master -e devel -e main | xargs -I % git branch -d %
sc = switch -c
[color]
ui = auto
[color "grep"]
filename = blue
linenumber = yellow
separator = white
[grep]
lineNumber = true
[i18n]
commitencoding = utf-8
[credential]
helper = osxkeychain
[pull]
rebase = merges
[init]
defaultBranch = main
[include]
path = ~/.gitconfig.local