Answer prose round 1: lead with the action to keep a change, and say which files git status lists
This commit is contained in:
@@ -43,7 +43,7 @@ Link `loop-claude` onto `PATH`: `ln -s ~/.claude/bin/loop-claude ~/.local/bin/lo
|
|||||||
|
|
||||||
## Update
|
## Update
|
||||||
|
|
||||||
A machine that takes tagged releases moves to the latest tag. The move discards every uncommitted change to a file the tag tracks, such as a `settings.json` Claude Code wrote. See the changes to files tracked today, and the tag the machine is on:
|
Move a machine that takes tagged releases to the latest tag. The move discards every uncommitted change to a file the tag tracks, such as a `settings.json` Claude Code wrote. List the uncommitted changes to files the checkout tracks, and the tag it is on:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd ~/.claude
|
cd ~/.claude
|
||||||
@@ -51,7 +51,7 @@ git fetch --tags origin
|
|||||||
git status
|
git status
|
||||||
```
|
```
|
||||||
|
|
||||||
A change reaches a machine only through a tag. To keep one, merge it per `AGENTS.md` → "Working rules" and cut a release ("Release") before moving. Then move:
|
To keep an uncommitted change, merge it per `AGENTS.md` → "Working rules" and cut a release ("Release") before moving: a machine gets only what a tag holds. Then move:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git checkout -f "$(git tag -l 'v*' --sort=-v:refname | head -n 1)"
|
git checkout -f "$(git tag -l 'v*' --sort=-v:refname | head -n 1)"
|
||||||
|
|||||||
Reference in New Issue
Block a user