github / github/app

[Requests and ideas] # Feature Request: Global Default for Session Container Type (Branches vs Wor...

Aperta
#1,111 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Requests and ideas
Lingua principale
Nessun dato sulla lingua
Stelle
2.1k
Fork
153
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

# Feature Request: Global Default for Session Container Type (Branches vs Worktrees)

## Summary

Allow users to set a global default for whether new projects use **local branches** or **git worktrees** for session management, rather than defaulting to worktrees every time.

## Problem

When adding new repositories to Copilot CLI, each project defaults to using git worktrees for session isolation. Users who prefer working with local branches must manually configure this per project. For users managing many repositories, this becomes repetitive and tedious.

## Proposed Solution

Add a global user preference/setting (e.g., in app settings or a config file) that lets users choose their default session container type:

- **Git Worktrees** (current default)
- **Local Branches**

This default would apply whenever a new project is added to the app. Individual projects could still override the global setting if needed.

## Benefits

- Reduces repetitive configuration when onboarding multiple repositories
- Respects user workflow preferences out of the box
- Simple to implement as a user-level setting with per-project override

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

The issue names no files, tests, or entry points. Start by locating the app's project settings and session-container selection flow; done means a global choice between Git worktrees and local branches is applied to newly added projects while preserving per-project overrides.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
git
Ambito
desktop
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Tranquilla
Chiarezza
Da chiarire
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.