You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Which commits can be moved like this?
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.
The text was updated successfully, but these errors were encountered:
The
git commit float
andgit commit sink
commands will allow sending a commit from the current branch up or down the stack.Things to decide:
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.
The text was updated successfully, but these errors were encountered: