-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
60 lines (60 loc) · 1.61 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
[alias]
wdiff = diff --color-words
wshow = show --color-words
sc = !git add -u && git commit -s -m \"Snapshot\"
ci = commit -sm
co = checkout
st = status
# push-ar = push to all remotes
push-ar = "!f () { git remote | while read -r remote; do if $(git config \"remote.${remote}.url\" > /dev/null); then echo \"Pushing to ${remote}\"; git push $@ \"${remote}\" : ; else echo \"Remote $remote does not have URL set\"; fi; done }; f"
doglog = log --decorate --oneline --graph --color
[annex]
autocommit = false
addunlocked = true
diskreserve = 10gb
retry = 5
stalldetection = true
synccontent = true
[apply]
whitespace = fix
[color]
diff = true
pager = true
status = true
ui = true
[commit]
gpgsign = true
[core]
attributesFile = ~/.local/share/dotfiles/gitattributes
[diff]
wordRegex = \\(|\\)|[^[:space:]()]+
submodule = log
algorithm = histogram
[diff "common-lisp"]
xfuncname="^\\((def\\S+\\s+\\S+)"
[diff "gpg"]
# Try to catch decription errors, as git log aborts otherwise; this
# happens in particular when files covered by git-annex are missing
textconv = bash -c 'gpg --no-tty --decrypt \"$1\" || cat \"$1\"' _
[diff "elisp"]
xfuncname="^\\((((def\\S+)|use-package)\\s+\\S+)"
[diff "org"]
xfuncname="^\\*+ (.*)"
[gcrypt]
rsync-put-flags = "-Pv "
participants = simple
[init]
defaultBranch = main
[log]
decorate = true
abbrevCommit = true
[merge]
ff = true
[pull]
rebase = false
[push]
default = tracking
[rerere]
enabled = true
[status]
submodulesummary = 1