Skip to content

Commit 4198130

Browse files
authored
docs: refresh README examples (#10)
1 parent ada03ed commit 4198130

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

‎README.md‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,16 @@ git worktreeinclude apply --from auto
4444

4545
Tracked files are never copied, even if listed in `.worktreeinclude`.
4646

47-
Example:
47+
Example for a typical app repo with local env, editor settings, and tool-specific cache:
4848

4949
```gitignore
5050
.env
51-
.env.*
51+
.env.local
5252
!.env.example
5353
5454
.vscode/settings.json
55-
.idea/
55+
.mise.local.toml
56+
turbo/.cache/
5657
```
5758

5859
## Commands
@@ -143,8 +144,8 @@ git-worktreeinclude hook print post-checkout
143144
},
144145
"actions": [
145146
{"op": "copy", "path": ".env", "status": "done"},
146-
{"op": "skip", "path": ".vscode/settings.json", "status": "same"},
147-
{"op": "conflict", "path": ".env.local", "status": "diff"}
147+
{"op": "skip", "path": ".mise.local.toml", "status": "same"},
148+
{"op": "conflict", "path": ".vscode/settings.json", "status": "diff"}
148149
]
149150
}
150151
```

0 commit comments

Comments
 (0)