Skip to content

Commit 6e84fef

Browse files
committed
notes: list #192's commits as the replacement for e28e832
The owner chose to replace the squash commit e28e832 on upstream/glmgampoi-r with #192's three commits, re-signed. Those commits are still reachable as refs/pull/192/head after the branch was deleted, so the entry gives the fetch, the re-sign from the reviewed head, an empty-diff check against e28e832, and a push whose lease names e28e832. The sequence was rehearsed in a scratch clone with a no-signature amend and `git push --dry-run`: three commits rewritten, no diff, lease accepted, nothing pushed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HtyPfZ1MWBB94RawgzQgz7
1 parent 9f3c450 commit 6e84fef

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

‎notes/commit-signing.md‎

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,23 @@ GitHub's Verified badge is what upstream checks.
9191

9292
## Branches known to need re-signing
9393

94-
None at present.
95-
94+
- `refs/pull/192/head` (`10e099b`): #192's three unsigned commits on PR 62's
95+
reviewed head `efe1df1`. They are to replace the squash commit `e28e832` on
96+
`upstream/glmgampoi-r` (owner's call, 2026-10-20); the tree is identical.
97+
GitHub keeps a merged PR's head ref after its branch is deleted, so:
98+
99+
```sh
100+
git fetch origin pull/192/head:pr62-next upstream/glmgampoi-r
101+
git switch pr62-next
102+
git rebase --exec 'git commit --amend --no-edit -S' efe1df1
103+
git log --format='%h %G? %s' efe1df1..HEAD # see the table above
104+
git diff --stat origin/upstream/glmgampoi-r HEAD # expect no output
105+
git push --force-with-lease=upstream/glmgampoi-r:e28e832fd52466f5192406025fe6b16d9fd99ae1 \
106+
origin pr62-next:upstream/glmgampoi-r
107+
```
108+
109+
The lease names `e28e832`, so the push is refused if anything else has
110+
landed there since.
96111
- `wip/pr62-theta` is superseded: #192 carried its theta commit on PR 62's
97112
reviewed head `efe1df1`, and was squash-merged as `e28e832`. Its other two
98113
commits are PR 62's, rebased onto upstream `78ffc2f` after review had

0 commit comments

Comments
 (0)