Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/app/ManualRebase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ async function run() {
// always hard reset and clean to allow subsequent checkout
// if there are files checkout will fail and cascade fail subsequent commands
cli.sync(`git reset --hard`, spawn_options);
cli.sync(`git cherry-pick --abort`, spawn_options);
cli.sync(`git clean -fd`, spawn_options);

// always put self back in original branch
Expand Down
1 change: 1 addition & 0 deletions src/commands/Rebase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ Rebase.run = async function run(props: Props) {
// always hard reset and clean to allow subsequent checkout
// if there are files checkout will fail and cascade fail subsequent commands
cli.sync(`git reset --hard`, spawn_options);
cli.sync(`git cherry-pick --abort`, spawn_options);
cli.sync(`git clean -fd`, spawn_options);

// always put self back in original branch
Expand Down