Skip to content

Commit 13e8f7c

Browse files
Refine rush update guidance wording
Agent-Logs-Url: https://github.com/microsoft/rushstack/sessions/5a9639e9-0f43-402c-aa26-b6303dd01505 Co-authored-by: dmichon-msft <26827560+dmichon-msft@users.noreply.github.com>
1 parent fd682fb commit 13e8f7c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/copilot-instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,10 @@ Choose the correct command tool based on different scenarios:
219219
- `--no-link`: Don't create project symlinks
220220
- `--network-concurrency COUNT`: Limit concurrent network requests
221221
- Use cases:
222-
- Run only when `rush install` explicitly reports that `rush update` is required (do not run it preemptively)
222+
- Run only when `rush install` fails and explicitly reports that `rush update` is required (for example, lockfile out-of-sync errors); do not run it preemptively
223223
- Commit hygiene:
224224
- Commit files modified by `rush update` in a dedicated commit named `(chore) rush update`
225-
- During a rebase, drop all `(chore) rush update` commits, rerun `rush update`, and create a fresh `(chore) rush update` commit
225+
- During a rebase, drop all `(chore) rush update` commits, rerun `rush update`, and create a fresh `(chore) rush update` commit so lockfile updates are regenerated from the rebased dependency state
226226

227227
3. `rush build`
228228
- Function: Incremental project build

0 commit comments

Comments
 (0)