Add git dotfiles
This commit is contained in:
parent
3193589c51
commit
60ec0c24e3
54
git/.gitconfig
Normal file
54
git/.gitconfig
Normal file
@ -0,0 +1,54 @@
|
||||
[core]
|
||||
editor = nvim
|
||||
autocrlf = input
|
||||
pager = delta
|
||||
excludeFiles = ~/.gitignore
|
||||
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
|
||||
[delta]
|
||||
navigate = true
|
||||
light = false
|
||||
line-numbers = true
|
||||
|
||||
[merge]
|
||||
conflictstyle = zdiff3
|
||||
|
||||
[diff]
|
||||
colorMoved = default
|
||||
algorithm = histogram
|
||||
|
||||
[rebase]
|
||||
autosquash = true
|
||||
autostash = true
|
||||
|
||||
[push]
|
||||
default = current
|
||||
autoSetupRemote = true
|
||||
|
||||
[init]
|
||||
defaultBranch = main
|
||||
|
||||
[commit]
|
||||
verbose = true
|
||||
|
||||
[rerere]
|
||||
enabled = true
|
||||
|
||||
[help]
|
||||
autocorrect = 10
|
||||
|
||||
[log]
|
||||
date = iso
|
||||
|
||||
[branch]
|
||||
sort = -committerdate
|
||||
|
||||
[color]
|
||||
ui = auto
|
||||
|
||||
[includeIf "gitdir:~/src/personal/**"]
|
||||
path = ~/.gitconfig-personal
|
||||
[includeIf "gitdir:~/src/work/**"]
|
||||
path = ~/.gitconfig-work
|
7
git/.gitconfig-personal
Normal file
7
git/.gitconfig-personal
Normal file
@ -0,0 +1,7 @@
|
||||
[user]
|
||||
name = Marvin Elsen
|
||||
email = git@marvinelsen.com
|
||||
signingKey = 7EBB0A920C1A1E0A52C246C6820672408CC318C2
|
||||
|
||||
[commit]
|
||||
gpgSign = true
|
2
git/.gitignore
vendored
Normal file
2
git/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
.idea
|
||||
.DS_Store
|
Loading…
Reference in New Issue
Block a user