github / github/app

[Bugs] The worktree branch name is too oppinionated.

未关闭
#528 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
Bugs
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

**Mood:** 😊
**Category:** Bugs

The worktree branch name is too oppinionated.

We have a naming scheme which, even though I have written it in instructions in the app, is not honoured.

The auto-namer do follow a bit of the naming scheme as defined, but prepend my username nonetheless, leaving the branch name as a weird hodgepodge of two naming schemes.

If I tell the agent to rename the branch, the answer is that it can only rename once and that the tool rejects rename attempts. Which is again an oppionated approach.

My workaround is to explictly tell copilot to hold off on pushing by itself, then being explicit about what the remote branch should be called - so local branch name and remote branch are not the same. But sometimes even that fails, and my PRs are created with a wrong name, breaking some auto flows that detect the ticket id in the branch name to bind the PR and the ticket, so I have to see the connection is broken, and then create that connection manually.

---
| Field | Value |
| --- | --- |
| App version | 0.2.13 |
| OS | Windows 10.0.26200 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Week 2 |

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。