-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.gitconfig
More file actions
39 lines (30 loc) · 799 Bytes
/
.gitconfig
File metadata and controls
39 lines (30 loc) · 799 Bytes
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
[include]
path = ~/.gitconfig.d/alias.config
path = ~/.gitconfig.d/colors.config
path = ~/.gitconfig.d/user.config
[status]
# Show detailed submodule info when doing git status:
submoduleSummary = true
[diff]
# Detected rename and copies.
renames = copies
# Don't show a/-b/ prefixes in diffs.
noprefix = true
[merge]
# Add common ancestor data in merge conflict diffs:
conflictstyle = diff3
[push]
default = simple
[init]
defaultBranch = main
[core]
# rebases can often fail due to modified files that are not modified, and
# this seems to fix it:
# https://www.git-tower.com/blog/make-git-rebase-safe-on-osx/
trustctime = false
[rerere]
enabled = 1
[gc]
reflogExpire = never
worktreePruneExpire = 12.months.ago
reflogExpireUnreachable = 12.months.ago