-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
41 lines (41 loc) · 920 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
41
[include]
path = .gitconfig_personal
[alias]
tree = log --decorate --oneline --graph
all = "!f() { ls -R -d */.git | sed s,/.git,, | xargs -P10 -I{} git -C {} $1; }; f"
pushup = "!f() { git push -u origin $(git rev-parse --abbrev-ref HEAD) --no-verify; }; f"
co = checkout
br = branch
ci = commit
st = status
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[color]
ui = auto
[color "status"]
added = green
changed = red
untracked = cyan
branch = yellow black bold ul
[push]
default = simple
[pull]
ff = only
[core]
autocrlf = input
eol = lf
excludesfile = ~/.gitignore_global
attributesfile = ~/.gitattributes_global
[submodule]
recurse = true
[commit]
gpgsign = true
[init]
defaultBranch = main