Skip to content

chore(git): standardize .gitignore - #281

Open
0xmc wants to merge 1 commit into
mainfrom
chore/280-standardize-gitignore
Open

chore(git): standardize .gitignore#281
0xmc wants to merge 1 commit into
mainfrom
chore/280-standardize-gitignore

Conversation

@0xmc

@0xmc 0xmc commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Closes #280

Summary

  • Replace the scant .gitignore (goreleaser dist/, built binary, nix result/, .generated/) with the sectioned template already in independent use across network, cloud, and galactic — Go build artifacts, IDEs/editors, OS cruft, secrets/credentials, and AI coding assistant scratch dirs (.claude, .cursor, .aider, Codex, Windsurf, etc.)
  • Trimmed of the Kubernetes-operator/eBPF/containerlab-specific entries from those repos that don't apply to a CLI
  • Kept .cursor/rules/ and .claude/settings.json trackable since they're intentionally committed project config here; only local-only state (.claude/settings.local.json, .claude/worktrees/, cursor cache) is ignored

Test plan

  • git ls-files -i -c --exclude-standard confirms no currently-tracked file becomes newly ignored
  • go build ./... passes

Expands the scant .gitignore to match the sectioned template already
in use in network, cloud, and galactic (Go build artifacts, AI coding
agent scratch dirs, IDEs, OS cruft, secrets), trimmed of the
Kubernetes-operator/eBPF-specific entries that don't apply to a CLI.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@0xmc
0xmc requested review from drewr, savme and scotwells September 9, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Standardize .gitignore

1 participant