Hi, 7d8f8411c46a
Thanks for contacting us.
At first I wanted to say, that I am very sorry that you are experienced the resetting of your working copy.
The most important thing is contained inside your first step. You've started interactive rebase, but started working on other stuff without finishing or aborting your interactive rebase. Let me provide more details.
The thing is, when you've started interactive rebase - Sourcetree enters kind of "interactive rebase edit" mode, which allows you to resolve conflicts, edit files that contained in rebasing commit, e.t.c. So, you started working on other stuff when interactive rebase was in progress (not finished or not aborted). It means Sourcetree assumes, that all changes made by you during working on other feature are part of "rebase", which is still not finished or aborted. When you tried to commit - then Sourcetree notified you that interactive rebase still in progress using this dialog: https://drive.google.com/file/d/1C_3cJfvK1BfZ7pLRzKfA5L3gd4n62ZlI/view?usp=share_link
First option "Continue Rebase" in this dialog is continues rebase, other words you are telling Sourcetree, that all changes are made as a part of this rebase and we could finish it.
Second option "Abort Rebase" is aborting rebase, that currently in progress, which involves resetting all changes you are made while interactive rebase was in progress. It resetting changes because you are aborted rebase and it means you do not want rebase any changes from other commit. Other words, Sourcetree restores your working copy to the state, that was before starting interactive rebase. Most probably this is actually your situation, which you are experienced. In case you wanted to preserve your working copy changes, you had to select the third option in this dialog: "Cancel".
In this particular case "Cancel" will cancel your action (for you it was commit action) and it will let you to save your changes somehow (stash, patch, e.t.c) and only then abort rebase using Sourcetree context menu: Actions -> Abort Rebase.
So, most probably, it consequence of two circumstances:
1st is you didn't notice that interactive rebase is in progress and started working on other task (before working in other stuff you had to abort or finish rebase).
2nd you are selected "Abort Rebase", when tried to commit your changed, which caused aborting rebase and resetting your working copy to the state it was before starting interactive rebase (you had to click "Cancel" to have a change to save your changes before aborting rebase).
Please, always use Actions -> Abort Rebase when you do not want to finish rebase and reset all changes that were done during rebase. And please, use Actions -> Continue Rebase when you are ready to continue and finish rebase.
Please, let me know if my understanding of your issue is correct, or if you have some additional questions or comments regarding this.
7d8f8411c46a,
Thanks for these suggestions. I'll convert this issue to "Suggestion" and we will take a look on this.