github / github/app

Configure path for worktrees, independent of repo location

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

説明

I need to configure where worktrees and repos are located, independent of each other.

So my repos are under `~/code/org-name/repo-name`

and worktrees under `~/worktrees/org-name/repo-name/branch-name-derived-worktree-name`.

This is company policy, so hard to use without this.

Today I'm using Worktrunk (https://worktrunk.dev/config/#worktree-path-template) where this is configurable. Maybe you can just copy that structure/setup, with template variables for customization?

---
| Field | Value |
| --- | --- |
| App version | 1.0.17 |
| OS | macOS 15.6.0 |
| Theme | GitHub |
| Path | / |
| Tenure | Day 1 |

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

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

調査の方向性

リポジトリのファイル、テスト、エントリーポイントは指定されていません。まずアプリのリポジトリと worktree のパス設定を見つけ、次に現在パスがどのように導出されているかを確認してください。完了条件は、ユーザーが、要求された組織、リポジトリ、ブランチに基づく構造に対応するテンプレート変数を使って、リポジトリと worktree の場所をそれぞれ独立して設定できることです。

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

評価

技術スタック
git
領域
desktop, developer-experience
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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