Skip to content

Commit ea453f3

Browse files
committed
docs(checklist): switch tmp/.terraform exclusions to .git/info/exclude
- Replace the "add tmp/ to .gitignore" guidance with a stronger policy: put **/tmp/, .terraform/, and .terragrunt-cache/ in .git/info/exclude instead of the committed .gitignore. These are personal / per-clone workspaces and tool caches, not project-wide policy; .git/info/exclude keeps them out of your working tree without imposing the convention on every collaborator - Include the heredoc one-liner to append all three patterns at once - Include a rationale paragraph so future readers understand why this policy exists (the choice is intentional, not an oversight) - Bundle a pre-existing local edit that expands the workspace tmp/ scaffold from a single tmp/ to four subdirectories used by other workflows: tmp/pr, tmp/pr_reviews, tmp/agent_reports, tmp/bug_reports Fixes the smart-quote (U+2019) in the old line as a side effect of the replacement, keeping the file consistent with the repo's plain-ASCII punctuation convention (commit 3761314).
1 parent e2f3754 commit ea453f3

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

NEW_REPO_CHECKLIST.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ readlink .cursor/rules
2828
- [ ] Create `tmp/tasks.md` (minimum)
2929

3030
```bash
31-
mkdir -p tmp
31+
mkdir -p tmp/pr tmp/pr_reviews tmp/agent_reports tmp/bug_reports
3232
cp .cursor/rules/templates/tasks.md.template tmp/tasks.md
3333
```
3434

@@ -46,9 +46,14 @@ cp .cursor/rules/templates/progress.md.template tmp/progress.md
4646

4747
## Git hygiene (recommended)
4848

49-
- [ ] Ensure `tmp/` is ignored (add to your repo’s `.gitignore`):
49+
- [ ] **Git Hygiene:** Add the following to `.git/info/exclude` (preferred) instead of the repo `.gitignore`: `**/tmp/`, `.terraform/`, `.terragrunt-cache/`. Do not modify the repo `.gitignore` for these entries.
5050

51-
```gitignore
52-
# Private/local documentation
53-
tmp/
51+
```bash
52+
cat >> .git/info/exclude <<'EOF'
53+
**/tmp/
54+
.terraform/
55+
.terragrunt-cache/
56+
EOF
5457
```
58+
59+
Rationale: these are personal / per-clone workspaces and tool caches, not project-wide policy. `.git/info/exclude` keeps them out of *your* working tree without imposing the convention on every collaborator via the committed `.gitignore`.

0 commit comments

Comments
 (0)