mirror of
https://github.com/SeriousBug/dotfiles
synced 2025-12-07 05:22:34 -06:00
Add git dotfiles with Dotter templates
Set up .gitconfig and .gitignore under Dotter management with template variables for git_name and git_email to support different values across systems. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
155ce70597
commit
fad40330cd
13
.dotter/global.toml
Normal file
13
.dotter/global.toml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[helpers]
|
||||
|
||||
[git]
|
||||
depends = []
|
||||
|
||||
[git.files]
|
||||
"git/.gitconfig" = "~/.gitconfig"
|
||||
"git/.gitignore" = "~/.gitignore"
|
||||
|
||||
[git.variables]
|
||||
|
||||
[settings]
|
||||
default_target_type = "automatic"
|
||||
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# Dotter cache files
|
||||
.dotter/local.toml
|
||||
.dotter/cache.toml
|
||||
.dotter/cache/
|
||||
14
git/.gitconfig
Normal file
14
git/.gitconfig
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[core]
|
||||
excludesFile = ~/.gitignore
|
||||
[push]
|
||||
autoSetupRemote = true
|
||||
[user]
|
||||
name = {{git_name}}
|
||||
email = {{git_email}}
|
||||
[filter "lfs"]
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
process = git-lfs filter-process
|
||||
required = true
|
||||
[init]
|
||||
defaultBranch = main
|
||||
2
git/.gitignore
vendored
Normal file
2
git/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
.history/
|
||||
|
||||
Loading…
Reference in a new issue