mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-06 03:14:52 -06:00
Mark several completed items in TODO.md: - Hook system documentation - Authentication token migration to Doppler - WSL GPG integration documentation - mise shell integration - Windows Terminal settings template - Global CLAUDE.md addition - Git configuration expansion (aliases, diff tools, signing) - GPG configuration setup - README.md comprehensive refactor - Deprecated hook migration to TypeScript - File cleanup/template conversion Update Git identity configurations: - Switch Ryan identity to new GPG key (301511AAD64FA365) - Disable GPG signing for Xevion identity (no key available) - Add WSL-specific GPG configuration using Windows GPG symlink - Consolidate Windows/WSL config blocks in dot_gitconfig.tmpl
79 lines
1.7 KiB
Cheetah
79 lines
1.7 KiB
Cheetah
# Git Configuration - Platform-aware
|
|
# Managed by chezmoi
|
|
|
|
{{ if or (eq .chezmoi.os "windows") .wsl }}
|
|
# Windows/WSL Configuration - Ryan Walters (Professional)
|
|
[user]
|
|
name = Ryan Walters
|
|
email = ryan@walters.to
|
|
signingkey = 301511AAD64FA365
|
|
|
|
[commit]
|
|
gpgsign = true
|
|
|
|
{{ if eq .chezmoi.os "windows" }}
|
|
# Windows-specific: Use GPG4win
|
|
[gpg]
|
|
program = C:\\Users\\Xevion\\scoop\\apps\\gpg4win\\current\\GnuPG\\bin\\gpg.exe
|
|
|
|
[credential "https://github.com"]
|
|
helper =
|
|
helper = !'C:\\Program Files\\GitHub CLI\\gh.exe' auth git-credential
|
|
|
|
[credential "https://gist.github.com"]
|
|
helper =
|
|
helper = !'C:\\Program Files\\GitHub CLI\\gh.exe' auth git-credential
|
|
{{ else }}
|
|
# WSL-specific: Use Windows GPG via symlink
|
|
[gpg]
|
|
program = /usr/local/bin/gpg
|
|
|
|
[credential "https://github.com"]
|
|
helper =
|
|
helper = !/usr/bin/gh auth git-credential
|
|
|
|
[credential "https://gist.github.com"]
|
|
helper =
|
|
helper = !/usr/bin/gh auth git-credential
|
|
{{ end }}
|
|
|
|
{{ else }}
|
|
# Native Linux/macOS Configuration - Xevion (Personal)
|
|
[user]
|
|
name = Xevion
|
|
email = xevion@xevion.dev
|
|
# No GPG signing - no key available for this identity
|
|
|
|
[credential "https://github.com"]
|
|
helper =
|
|
helper = !/usr/bin/gh auth git-credential
|
|
|
|
[credential "https://gist.github.com"]
|
|
helper =
|
|
helper = !/usr/bin/gh auth git-credential
|
|
|
|
{{ end }}
|
|
|
|
# Common configuration for all platforms
|
|
[core]
|
|
editor = micro
|
|
pager = delta
|
|
|
|
[interactive]
|
|
diffFilter = delta --color-only
|
|
|
|
[delta]
|
|
navigate = true # use n and N to move between diff sections
|
|
|
|
[merge]
|
|
conflictStyle = zdiff3
|
|
|
|
[init]
|
|
defaultBranch = master
|
|
|
|
[filter.lfs]
|
|
required = true
|
|
clean = git-lfs clean -- %f
|
|
smudge = git-lfs smudge -- %f
|
|
process = git-lfs filter-process
|