Skip to content

fix(repos): preserve clone branch after worktrees add - #7009

Merged
dan-petty merged 1 commit into
mainfrom
fix/6354-worktrees-add-detached-head
Nov 24, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/6354-worktrees-add-detached-head

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Ensure repos worktree add preserves the initial branch on the primary worktree across worktree creation, takeover, and merged prune operations.

Closes #6354

Change: openspec/changes/archive/2026-11-24-6354-worktrees-add-detached-head/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/repos The devops repos commands and worktrees labels Nov 24, 2026
@dan-petty
dan-petty force-pushed the fix/6354-worktrees-add-detached-head branch from 8e7982d to 4d2982a Compare November 24, 2026 18:43
@dan-petty
dan-petty marked this pull request as ready for review November 24, 2026 18:51
@dan-petty
dan-petty merged commit 8a1004f into main Nov 24, 2026
28 checks passed
@dan-petty
dan-petty deleted the fix/6354-worktrees-add-detached-head branch November 24, 2026 19:31
dan-petty-release Bot added a commit that referenced this pull request Nov 24, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.211.0](v0.210.2...v0.211.0)
(2026-11-24)


### Features

* **k8s:** Give valkey-devops one ACL user for each role
([#7007](#7007))
([1b83f6c](1b83f6c))


### Bug Fixes

* **deps:** lock file maintenance
([#7013](#7013))
([edd576f](edd576f))
* **deps:** update ghcr.io/dan-petty/devtools Docker tag to v1.1.9
([#7012](#7012))
([86267af](86267af))
* **repos:** preserve clone branch after worktrees add
([#7009](#7009))
([8a1004f](8a1004f))


### Performance Improvements

* **ci:** Build the Runner and MCP images in one job
([#7006](#7006))
([0dc7fa9](0dc7fa9))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/repos The devops repos commands and worktrees type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(repos): investigate detached HEAD after a successful worktrees add

1 participant