github / github/app

Worktree sessions get a branch prefixed with my GitHub username, even though ...

Open
#3,726 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
2.1k
Forks
157
PR merge metrics
No merged PRs in 30d

Description

Worktree sessions get a branch prefixed with my GitHub username, even though branch_prefix is empty for every project in the app database. The username fallback isn't configurable: setting a prefix replaces it, but there's no way to have no prefix at all.

This breaks conventional branch naming (feat/..., fix/...), which our repos rely on. Please make an empty prefix mean "no prefix".

Also, rename_branch can only be called once per session and reapplies the prefix, so an agent can't correct it.


Field Value
App version 1.1.16
OS macOS 26.6.2
Theme GitHub
Path /chat
Tenure Day 2 (Week 1)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing worktree session branch creation and the handling of branch_prefix, then inspect the rename_branch flow. Done means an empty prefix produces no username prefix, while configured prefixes still work and rename_branch can correct a branch more than once.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.