63 lines
1.2 KiB
Plaintext
63 lines
1.2 KiB
Plaintext
; =============================================================================
|
|
; ~/.gitconfig — Git configuration
|
|
; Managed by dotfiles ( ~/.config/fish/config.fish )
|
|
; Manual changes will be overwritten when `dotfiles update` is run.
|
|
; To customise, edit this template at:
|
|
; ~/.config/fish/dotfiles/gitconfig
|
|
; then run `dotfiles update gitconfig`.
|
|
; =============================================================================
|
|
|
|
[user]
|
|
; ── IMPORTANT: set your real name and email ──
|
|
name = Your Name
|
|
email = you@example.com
|
|
|
|
[init]
|
|
defaultBranch = main
|
|
|
|
[core]
|
|
editor = nano
|
|
pager = less
|
|
autocrlf = input
|
|
whitespace = trailing-space,space-before-tab
|
|
excludesfile = ~/.gitignore
|
|
|
|
[color]
|
|
ui = auto
|
|
|
|
[color "branch"]
|
|
current = yellow bold
|
|
local = green
|
|
remote = cyan
|
|
|
|
[color "diff"]
|
|
meta = yellow bold
|
|
frag = magenta bold
|
|
old = red bold
|
|
new = green bold
|
|
|
|
[color "status"]
|
|
added = green
|
|
changed = yellow
|
|
untracked = red
|
|
|
|
[push]
|
|
default = simple
|
|
autoSetupRemote = true
|
|
|
|
[fetch]
|
|
prune = true
|
|
|
|
[merge]
|
|
conflictstyle = zdiff3
|
|
|
|
[rebase]
|
|
autosquash = true
|
|
autoStash = true
|
|
|
|
[diff]
|
|
tool = vimdiff
|
|
|
|
[help]
|
|
autocorrect = 10
|