sticky-note-cli 2.8.0 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/CLAUDE.md +12 -0
- package/templates/copilot-instructions.md +12 -0
package/package.json
CHANGED
package/templates/CLAUDE.md
CHANGED
|
@@ -186,6 +186,18 @@ after. A raw `git checkout` or `git switch` will fail if sticky-note
|
|
|
186
186
|
files have uncommitted changes. The alias `git sw <branch>` also works
|
|
187
187
|
if set up by `npx sticky-note init`.
|
|
188
188
|
|
|
189
|
+
### Pulling changes
|
|
190
|
+
|
|
191
|
+
**IMPORTANT:** Before pulling remote changes, always use:
|
|
192
|
+
```bash
|
|
193
|
+
npx sticky-note pull
|
|
194
|
+
```
|
|
195
|
+
This auto-commits `.sticky-note/` tracking data before pulling, preventing
|
|
196
|
+
"local changes would be overwritten" errors. The alias `git spull` also
|
|
197
|
+
works if set up by `npx sticky-note init`. The PreToolUse hook handles
|
|
198
|
+
this automatically for AI tool calls, but prefer `git spull` when running
|
|
199
|
+
git commands directly.
|
|
200
|
+
|
|
189
201
|
### ⚠️ Overlap warnings
|
|
190
202
|
|
|
191
203
|
Sticky-note detects when your files overlap with other teammates'
|
|
@@ -189,6 +189,18 @@ after. A raw `git checkout` or `git switch` will fail if sticky-note
|
|
|
189
189
|
files have uncommitted changes. The alias `git sw <branch>` also works
|
|
190
190
|
if set up by `npx sticky-note init`.
|
|
191
191
|
|
|
192
|
+
### Pulling changes
|
|
193
|
+
|
|
194
|
+
**IMPORTANT:** Before pulling remote changes, always use:
|
|
195
|
+
```bash
|
|
196
|
+
npx sticky-note pull
|
|
197
|
+
```
|
|
198
|
+
This auto-commits `.sticky-note/` tracking data before pulling, preventing
|
|
199
|
+
"local changes would be overwritten" errors. The alias `git spull` also
|
|
200
|
+
works if set up by `npx sticky-note init`. The PreToolUse hook handles
|
|
201
|
+
this automatically for AI tool calls, but prefer `git spull` when running
|
|
202
|
+
git commands directly.
|
|
203
|
+
|
|
192
204
|
### ⚠️ Overlap warnings
|
|
193
205
|
|
|
194
206
|
Sticky-note detects when your files overlap with other teammates'
|