-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgitconfig
73 lines (57 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
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
[core]
excludesfile = ~/.gitignore
quotepath = false
pager = delta
[interactive]
diffFilter = delta --color-only
[color]
ui = true
pager = true
interactive = auto
diff = auto
status = auto
branch = auto
[merge]
tool = opendiff
[mergetool]
keepBackup = false
[alias]
co = checkout
amend = commit --amend --no-edit
count = !git shortlog -sn
assume = update-index --assume-unchanged
unassume = update-index --no-assume-unchanged
assumed = "!git ls-files -v | grep ^h | cut -c 3-"
st = status
promote = !$DOT/bin/git-promote
wtf = !$DOT/bin/git-wtf
rank-contributers = !$DOT/bin/git-rank-contributers
undo = !$DOT/bin/git-undo
ec = config --global -e
bs = !git checkout $(git branch | cut -c 3- | fzy)
browse = !gh repo view --web
view = !gh pr view --web
pr = !gh pr create --web
[branch]
autosetuprebase = always
[pull]
rebase = true
[push]
default = simple
[credential]
helper = osxkeychain
[commit]
gpgsign = true
[rebase]
autoStash = true
[rerere]
enabled = true
[hub]
protocol = https
[init]
defaultBranch = main
[include]
# keep your user name and 3rd-party config in a more private file
path = ~/.local/gitconfig
[ghq]
root = ~/src