intersystems / intersystems/git-source-control
Add ability to reset branch to remote
- Lenguaje dominante
- ObjectScript
- Estrellas
- 22
- Forks
- 14
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 5
Descripción
On occasion, we end up with divergent branches in our lowest shared/deployed environment. it is really cumbersome to have to drop to the OS to issue a `git reset --hard` command (in part because permissions on the OS are really restrictive). Ideally, it would do a git-fetch followed by the reset.
It would be nice if this were an option somewhere within the UI to reset the current branch to it's `origin` counterpart: either an action button when you select a local branch or maybe an input that lets you run git commands from the settings page (you could show it only in expert mode)
This is more of a convenience request than anything else.
Guía de contribución
Línea de trabajo
Comienza localizando el punto de entrada de la UI para seleccionar ramas locales y las acciones existentes de fetch o de ramas. Determina cómo se puede exponer de forma segura un reset al equivalente de la rama en origin y, después, verifica que fetch y reset produzcan el estado esperado de la rama en el entorno compartido.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- git
- Área
- devtools
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 30/100