| |
Git offers three locations for ignore patterns: `.gitignore` (committed to the repo for shared rules), `.git/info/exclude` (per-repo but not committed, ideal for personal scratch files), and a global excludes file (set via `core.excludesFile`, useful for machine-wide settings like editor clutter). The author discovered `.git/info/exclude` as a solution for ignoring personal files without polluting the shared `.gitignore` or cluttering the repository.
Read Full Article →
← More Tech news