nix-config/git/.gitconfig
Donovan Glover 75d66fb6c6
git: Set the default branch to master
I've always loved how the master branch is called master since it's
comparable to mastering a skill or emphasizing the importance of
something.
2021-05-14 16:30:04 -04:00

51 lines
798 B
INI

[include]
path = ~/.gituser
# Always sign commits
[commit]
gpgsign = true
[core]
editor = vim
autocrlf = false
pager = diff-so-fancy | less --tabs=4 -RFX
excludesfile = ~/.gitignore
[web]
browser = firefox
[push]
default = simple
[branch]
autosetuprebase = always
[init]
defaultBranch = master
[rerere]
enabled = true
[color]
ui = true
[alias]
contrib = shortlog -n -s
remotes = remote -v
praise = blame
verify = log --show-signature
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = yellow
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse