Consider using `git-switch` instead of `git-checkout`
- Lingua principale
- Rust
- Stelle
- 22.5k
- Fork
- 773
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**Is your feature request related to a problem? Please describe.**
It seems like currently gitui uses a command similar to [`git-checkout`](https://www.git-scm.com/docs/git-checkout) when changing branches or creating new branches. This has the drawback of not handling cases where there are uncommited changes in the working tree. (This is just the example I most commonly encounter. From what I gathered [`git-switch`](https://www.git-scm.com/docs/git-switch) is generally more versatile)
**Describe the solution you'd like**
I would like gitui to use a command similar to [`git-switch`](https://www.git-scm.com/docs/git-switch) when changing branches. This would allow me to change branches even if there are changes in the working tree.
**Describe alternatives you've considered**
Currently I exit out of gitui and run `git switch` manually from the command line.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Non viene indicato alcun file o test. Inizia individuando il punto di ingresso di gitui per il cambio di branch e l'invocazione di git-checkout, quindi esamina il comportamento della modifica o della creazione di branch in presenza di modifiche non sottoposte a commit. Il lavoro è completato quando il workflow può essere eseguito all'interno di gitui senza uscirne per eseguire manualmente git switch.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- git, rust
- Ambito
- cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100