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
stack-branch demo --trunk master@b91a233a59c7f8a92ab3ef721237b463cebddb86
pick 5399908 # feature a
stack-branch feature/b # note I have forgotten the --parent flag here
pick 0eb9dbf # feature b
stack-branch feature/c # note I have forgotten the --parent here
pick 89b8117 # feature c
save and exit
Result
The command correctly errors. However, the feature b and feature c commits are now lost.
$ av stack reorder
Starting branch demo at b91a233
- applied commit 5399908 without conflict (HEAD is now at 5399908)
error: invalid stack-branch command: --parent=<branch> or --trunk=<branch> must be specified when creating the first branch
Expected result
because the command errors it should revert back to the prior state
Additional notes
Some of this could also be alleviated with a av stack split command that cut up a branch into a branch per commit (use the commit name as the branch name)
The text was updated successfully, but these errors were encountered:
Reproduction
Create a branch with several commits
run
av stack reorder
edit the file to:
save and exit
Result
The command correctly errors. However, the feature b and feature c commits are now lost.
Expected result
because the command errors it should revert back to the prior state
Additional notes
Some of this could also be alleviated with a
av stack split
command that cut up a branch into a branch per commit (use the commit name as the branch name)The text was updated successfully, but these errors were encountered: