A `git add -A` in a checkout with a worktree under .claude/worktrees/ records it as a gitlink — a submodule pointer no clone can resolve. That happened in gadfly today; this is the same one-line prevention, applied before it happens here. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
34 lines
616 B
Plaintext
34 lines
616 B
Plaintext
# ---> Go
|
|
# If you prefer the allow list template instead of the deny list, see community template:
|
|
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
|
|
#
|
|
# Binaries for programs and plugins
|
|
*.exe
|
|
*.exe~
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
|
|
# Test binary, built with `go test -c`
|
|
*.test
|
|
|
|
# Output of the go coverage tool, specifically when used with LiteIDE
|
|
*.out
|
|
|
|
# Dependency directories (remove the comment below to include it)
|
|
# vendor/
|
|
|
|
# Go workspace file
|
|
go.work
|
|
go.work.sum
|
|
|
|
# env file
|
|
.env
|
|
|
|
|
|
# macOS
|
|
.DS_Store
|
|
|
|
# Local worktrees created for agent work — never part of the repo.
|
|
.claude/
|