feat: bake global gitignore (core.excludesFile) into image
Seed ~/.gitignore_global from /etc/skel-devbox (seed-if-absent, like .bash_aliases/.inputrc, so user edits survive recreate) and wire it via git config --global core.excludesFile, guarded so a user-set excludesFile is never overridden. Ignores *.bak, *.bak.*, *~, *.orig, *.swp, *.tmp across all repos without per-repo .gitignore entries.
This commit is contained in:
@@ -13,6 +13,16 @@ Pre-v1.0.0 tags followed the pi npm version (`v{pi_version}[letter]`).
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Added
|
||||
|
||||
- **Global gitignore baked into the image.** A `~/.gitignore_global`
|
||||
(`*.bak`, `*.bak.*`, `*~`, `*.orig`, `*.swp`, `*.tmp`) is seeded into the home
|
||||
dir from `/etc/skel-devbox/` on first boot (seed-if-absent, like
|
||||
`.bash_aliases`/`.inputrc`, so user edits survive recreate) and wired via
|
||||
`git config --global core.excludesFile`. Personal/tooling backup artifacts are
|
||||
now ignored across all repos in the container without per-repo `.gitignore`
|
||||
entries. The `core.excludesFile` wiring is skipped if the user already set one.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Secrets are now delivered to the container via `env_file: .env` only; the
|
||||
|
||||
Reference in New Issue
Block a user