abhinav / git-spice

Manage stacked Git branches
https://abhinav.github.io/git-spice/
GNU General Public License v3.0
220 stars 11 forks source link

branch create: Don't lose data on branch creation error #318

Closed abhinav closed 2 months ago

abhinav commented 2 months ago

If branch creation fails for any reason, reset to the state before commit before checking out original branch. This will prevent those committed changes from being lost.

Resolves #307

abhinav commented 2 months ago

This change is part of the following stack:

Change managed by git-spice.