github / github/app

[Bugs] The worktree branch name is too oppinionated.

Open
#528 1 comment 2 reactions 0 assignees View on GitHub
Bugs
Dominant language
No language data
Stars
2.1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

**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 |

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.