-
Notifications
You must be signed in to change notification settings - Fork 10
/
.gitconfig
36 lines (36 loc) · 1.14 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
[branch]
sort = -committerdate
[color]
# Colorize as much as possible by default
ui = auto
[core]
# Global excludes config. Fits better in my head than the default paths
excludesfile = "~/.gitexcludes"
[init]
# New repos start with main, not master. Only works on Git 2.28+
defaultBranch = main
[interactive]
# Don't require mashing enter after eg 'y'/'n' prompts in eg --patch
singleKey = true
[merge]
# Smarter, newer merge conflict formatting that is laser focused while
# still preserving things like "both parents deleted/added some identical
# lines"
conflictStyle = zdiff3
[pull]
# Rebase by default when pull-merging
rebase = true
[push]
# Push all branches that exist on both ends, by default
default = matching
# Push annotated tags too, by default, when pushing branches
# (tho I do not currently use annotated tags much...ugh)
followTags = true
[rerere]
# Record previously resolved conflicts, eg when rebasing.
# (I thought this was on by default, but no?)
enabled = true
[user]
# Self-explanatory
name = Jeff Forcier
email = jeff@bitprophet.org