Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 26 additions & 18 deletions home-manager/programs/git/.gitignore.global
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
# AI
.conductor/
.cursor/
.entire/
.pi/
.serena/
.worktrees/
Comment on lines +1 to +7

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The .worktrees/ directory is related to Git's worktree feature, not AI. It would be more appropriate to move it to the # Other section. I'm suggesting its removal from this section and will propose adding it to the correct section in a separate comment.

# AI
.conductor/
.cursor/
.entire/
.pi/
.serena/


# Env files
.env.*
.env.local
Comment on lines +10 to +11

Copilot AI Mar 22, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pattern .env.* does not ignore the common .env file (without a suffix), and .env.local is redundant because it already matches .env.*. Consider adding .env explicitly and removing .env.local to avoid duplication.

Suggested change
.env.*
.env.local
.env
.env.*

Copilot uses AI. Check for mistakes.
.envrc

# Other
.cache/
.devenv/
.jj/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To follow up on the previous comment, the .worktrees/ entry should be added here under the # Other section. This section already contains ignores for other development tools like .devenv/ and .jj/, making it a better fit.

.jj/
.worktrees/


# Tmp files
tmp
.tmp*
tmp*

Comment on lines +20 to +23

Copilot AI Mar 22, 2026

Copy link

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.

Suggested change
tmp
.tmp*
tmp*
tmp/
.tmp*/

Copilot uses AI. Check for mistakes.
# Ignore deprecated files
*.deprecated

# General
.DS_Store
.AppleDouble
Expand Down Expand Up @@ -25,21 +51,3 @@ Icon
Network Trash Folder
Temporary Items
.apdisk

# Env files
.env.*
.env.local
.envrc

# Tmp files
tmp
.tmp*
tmp*

# AI
.cursor/
.entire/
.serena/

# Ignore deprecated files
*.deprecated
Loading