abhinav / abhinav/git-spice

gs commit float, sink: Send a commit up or down the stack

Abierto
#560 3 comentarios 0 reacciones 0 asignados Ver en GitHub
area/git enhancement
Lenguaje dominante
Go
Estrellas
762
Forks
72
Merge medio
18 h 24 min
PR fusionados (30 d)
28

Descripción

The `git commit float` and `git commit sink` commands will allow sending a commit from the current branch up or down the stack.

Things to decide:

1. Which commits can be moved like this?
2. Can you float/sink to any upstack/downstack branch, or only the next one?

---

For (1), my first reaction is:
`git commit float` can only float the top-most commit of the branch,
and `git commit sink` can only sink the bottom-most commit of the branch,
with the idea that if a commit in the middle of the branch has to be moved,
you should `gs branch edit` to move it to one of the extremes first.

For (2), I think you should be able to select any of the upstack/downstack branches.

Opinions welcome.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.