-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
41 lines (41 loc) · 934 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
[user]
name = Alan Hardman
email = [email protected]
[pull]
rebase = false
[push]
default = simple
[init]
defaultBranch = main
[core]
excludesfile = ~/.gitignore_global
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[alias]
ignored = !git ls-files -v | grep '^[[:lower:]]'
sync = ~sh -c 'git pull --no-edit && git push'
st = status
d = diff --color-words
dw = diff --word-diff
c = commit
ch = checkout
co = checkout -b
l = log
ll = log -p
lod = log --oneline --decorate
lgraph = log --oneline --decorate --graph
b = branch
gcall = "!find . -maxdepth 1 -type d \\( ! -name . \\) -exec bash -c \"cd '{}' && git gc\" \\;"
rmmerged = !git branch --merged | egrep -v '(^\\*|master|main)' | xargs git branch -d
[color]
diff = auto
branch = auto
interactive = auto
status = auto
[rerere]
enabled = true
[diff]
algorithm = histogram