github / github/app

[Requests and ideas] Folder/Collection projects don't support per-repo default branches

オープン
#786 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Requests and ideas
主要言語
言語のデータがありません
スター
2.1k
フォーク
153
PR マージ指標
30日以内にマージされた PR はありません

説明

**Mood:** 😊
**Category:** Requests and ideas

Folder/Collection projects don't support per-repo default branches
Problem

When creating a new session in a collection project (a folder containing multiple git repositories), the app doesn't respect or allow configuration of default branches for each child repository.

Current Behavior

Individual repository projects have a default_branch field in the projects table
Collection projects have an empty default_branch field
The collection_members table (which tracks child repos) has no default_branch column
When creating a new worktree session for a collection, there's no way to specify which branch each child repo should branch from
The app appears to use the main checkout's current branch, not a configured default
Expected Behavior

Collections should support per-repository default branch configuration, so that when creating a new session:

repo-a branches from development
repo-b branches from main
repo-c branches from master
Each child repository in the collection should be able to have its own default branch configured.

Impact

This makes collection projects difficult to use in multi-repo workflows where different repositories follow different branching conventions (e.g., main vs development vs master).

---
| Field | Value |
| --- | --- |
| App version | 0.2.24 |
| OS | macOS 26.5.1 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Day 2 (Week 1) |

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by tracing collection session creation and how the projects and collection_members tables supply branch information. Compare the existing project default_branch behavior with collection members, then verify that a new session can use a distinct configured branch for each child repository, including main, development, and master.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
git
領域
database, desktop
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。