fix: add git fetch and use pinned checkout for update flow

Address review feedback:
- Add missing `git fetch origin` before comparing commits
- Replace `git pull` with `git checkout <sha>` for deterministic updates
This commit is contained in:
ant
2026-03-11 06:00:01 +08:00
committed by Affaan Mustafa
parent f809bdd049
commit 13fe21c5b7

View File

@@ -83,8 +83,9 @@ To update later, review the [changelog](https://github.com/antbotlab/blueprint/b
```bash
cd ~/.claude/skills/blueprint
git fetch origin
git log --oneline HEAD..origin/main # review new commits
git pull
git checkout <new-commit-sha> # pin to a specific reviewed commit
```
## Requirements