Repository navigation
refactor(git): reorganize .gitignore.global entries for clarity #1255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,3 +1,29 @@ | ||||||||||||
| # AI | ||||||||||||
| .conductor/ | ||||||||||||
| .cursor/ | ||||||||||||
| .entire/ | ||||||||||||
| .pi/ | ||||||||||||
| .serena/ | ||||||||||||
| .worktrees/ | ||||||||||||
|
|
||||||||||||
| # Env files | ||||||||||||
| .env.* | ||||||||||||
| .env.local | ||||||||||||
|
Comment on lines
+10
to
+11
|
||||||||||||
| .env.* | |
| .env.local | |
| .env | |
| .env.* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot
AI
Mar 22, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tmp patterns overlap and are broader than necessary: tmp* already covers tmp, and tmp* will ignore any file/dir starting with tmp (e.g., tmpfile.go), which can hide legitimate files. Consider narrowing these to directory-specific patterns (e.g., tmp/, .tmp*/) and removing redundant entries.
| tmp | |
| .tmp* | |
| tmp* | |
| tmp/ | |
| .tmp*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
.worktrees/directory is related to Git's worktree feature, not AI. It would be more appropriate to move it to the# Othersection. I'm suggesting its removal from this section and will propose adding it to the correct section in a separate comment.