Files
dotfiles/gitconfig
Eric Wagoner 5a6c0f43bd Add work-specific configs and enhance git/shell setup
- Add modular zsh configs: zshrc-dev for dev tools, zshrc-natera for work
- Add .gitignore to exclude private Natera config from version control
- Configure git commit signing and delta diff viewer in gitconfig
- Regenerate p10k.zsh with rainbow theme and improved visual settings
- Add HIST_IGNORE_SPACE option to prevent saving sensitive commands
- Document Natera machine setup with private config template in README
2026-03-09 12:53:45 -04:00

69 lines
1.3 KiB
Plaintext

[user]
name = Eric Wagoner
email = ewagoner@gmail.com
signingkey = F43B105D9B88A97F
[credential]
helper = osxkeychain
[mergetool]
keepBackup = true
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[core]
excludesfile = ~/.gitignore_global
pager = delta
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
origin = config remote.origin.url
alias = ! git config --get-regexp ^alias\\. | sed -e s/^alias\\.// -e s/\\ /\\ =\\ /
ll = log --oneline
last = log -1 HEAD --stat
cm = commit -m
pushh = !git push -u origin $(git rev-parse --abbrev-ref HEAD)
[help]
autocorrect = 20
[color]
ui = auto
diff = auto
status = auto
branch = auto
[push]
default = current
autoSetupRemote = true
[diff]
colorMoved = zebra
# Use work email for repos under ~/work/
[includeIf "gitdir:~/work/"]
path = ~/.gitconfig-work
[commit]
gpgsign = true
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
light = false
side-by-side = true
line-numbers = true
syntax-theme = Dracula
[merge]
conflictstyle = diff3