Skip to content

Fix typo in .gitignore Claude Code section header#314

Merged
Chris-Wolfgang merged 1 commit into
mainfrom
fix/gitignore-claude-code-typo
Apr 26, 2026
Merged

Fix typo in .gitignore Claude Code section header#314
Chris-Wolfgang merged 1 commit into
mainfrom
fix/gitignore-claude-code-typo

Conversation

@Chris-Wolfgang

Copy link
Copy Markdown
Owner

Summary

The header line for the Claude Code section in `.gitignore` had a stray `n` prefix:

```gitignore
n# Claude Code
.claude/
```

The `n` makes the line no longer a recognized comment header (it's now a pattern that would match a literal file named `n# Claude Code` if one existed — harmless but wrong). Strip the `n` so the header is a clean `# Claude Code`.

How this was found

Spotted while diffing `Log-Compressor`'s `.gitignore` against the template — the downstream repo had already cleaned up the typo locally, but the template still has it, so any new repo created from the template inherits the typo.

Test plan

  • Verify `.gitignore` parses cleanly (it already did — this is purely cosmetic)

🤖 Generated with Claude Code

The header line for the Claude Code section had a stray 'n' prefix:
'n# Claude Code'. With the leading 'n', the line is no longer a
recognized comment header (though git did treat it as a comment-ish
line that ignored nothing useful). Strip the 'n' so the header is a
clean '# Claude Code'.
@Chris-Wolfgang Chris-Wolfgang merged commit 5e9d599 into main Apr 26, 2026
7 checks passed
@Chris-Wolfgang Chris-Wolfgang deleted the fix/gitignore-claude-code-typo branch April 26, 2026 00:08
This was referenced Apr 26, 2026
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.

1 participant