Consider using `git-switch` instead of `git-checkout`
- Lenguaje dominante
- Rust
- Estrellas
- 22.5k
- Forks
- 774
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
**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.
Guía de contribución
Línea de trabajo
No se nombra ningún archivo ni prueba. Empieza localizando el punto de entrada de gitui para cambiar de rama y la invocación de git-checkout; después, examina cómo se comporta el cambio o la creación de ramas cuando hay cambios sin commit. Se considera terminado cuando el flujo de trabajo puede realizarse dentro de gitui sin salir para ejecutar git switch manualmente.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- git, rust
- Área
- cli
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100