diff options
author | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-12-31 15:23:45 +0000 |
---|---|---|
committer | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-12-31 15:23:45 +0000 |
commit | a3e63f3e49af6360665f6e5045ee9b599294b18d (patch) | |
tree | 739d44327af99ce1ce3ea7cdeac20ab65aee8919 /.gitconfig | |
parent | 84153502db8b3b0c0d5e7555802d5d53d3bcc3d7 (diff) | |
download | dotfiles-a3e63f3e49af6360665f6e5045ee9b599294b18d.tar dotfiles-a3e63f3e49af6360665f6e5045ee9b599294b18d.tar.gz dotfiles-a3e63f3e49af6360665f6e5045ee9b599294b18d.tar.bz2 dotfiles-a3e63f3e49af6360665f6e5045ee9b599294b18d.tar.lz dotfiles-a3e63f3e49af6360665f6e5045ee9b599294b18d.tar.xz dotfiles-a3e63f3e49af6360665f6e5045ee9b599294b18d.tar.zst dotfiles-a3e63f3e49af6360665f6e5045ee9b599294b18d.zip |
Improve git config
Diffstat (limited to '.gitconfig')
-rw-r--r-- | .gitconfig | 47 |
1 files changed, 45 insertions, 2 deletions
@@ -1,12 +1,55 @@ [user] - signingKey = CA875B8CE4FF7C9F name = Luca Matei Pintilie - email = lucafulger@gmail.com + signingKey = CA875B8CE4FF7C9F + [commit] gpgSign = true + [tag] gpgSign = true + [pull] rebase = false + [init] defaultBranch = master + +[push] + push.autoSetupRemote + +[core] + pager = delta + +[interactive] + diffFilter = delta --color-only + +[delta] + navigate = true # use n and N to move between diff sections + light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal) + +[merge] + conflictstyle = diff3 + +[diff] + colorMoved = default + +[delta] + features = decorations + line-numbers = true + syntax-theme = Dracula + #side-by-side = true + pager = less + +[delta "interactive"] + keep-plus-minus-markers = true + +[delta "decorations"] + commit-decoration-style = blue ol + commit-style = raw + file-style = omit + hunk-header-decoration-style = blue box + hunk-header-file-style = red + hunk-header-line-number-style = "#067a00" + hunk-header-style = file line-number syntax + + |