Git Config
Global git configuration. Shared commit message template and gitignore across all repositories.
Commit message template
Section titled “Commit message template”Conventional Commits template defined in ~/.config/git/message. Displayed when running git commit.
<type>[(scope)]: <description>| Type | Purpose |
|---|---|
feat | New feature |
fix | Bug fix |
docs | Documentation only |
style | Formatting, semicolons, etc. |
refactor | Code change without feature change |
perf | Performance improvement |
test | Adding or fixing tests |
chore | Build, CI, dependency updates |
Breaking changes
Section titled “Breaking changes”Append ! after the type to indicate a breaking change.
feat(auth)!: implement OAuth2 authenticationAdd BREAKING CHANGE: in the footer for details.
Global gitignore
Section titled “Global gitignore”~/.config/git/ignore defines ignore patterns shared across all repositories.
OS generated
Section titled “OS generated”.DS_StoreThumbs.db._*Version managers
Section titled “Version managers”.go-version.node-version.python-version.ruby-version.tool-versions.mise.toml.idea/.vscode/*.swp*.swoEnvironment / Secrets
Section titled “Environment / Secrets”.env.env.local.envrcLocal config
Section titled “Local config”makefile.localdocker-compose.local.ymlconfig.local.**.local.json*.local.yamlDependencies
Section titled “Dependencies”node_modules/vendor/.bundle/Claude Code
Section titled “Claude Code”**/.claude/settings.local.json**/.claude/telemetry/Config files
Section titled “Config files”| File | Contents |
|---|---|
~/.config/git/config.local | user.name, user.email |
~/.config/git/message | Commit template |
~/.config/git/ignore | Global gitignore |