Aborting dvc exp run using CTRL-c can lead to apparent loss of recent script edits #10655
Labels
A: experiments
Related to dvc exp
p2-medium
Medium priority, should be done, but less important
ui
user interface / interaction
Had a somewhat scary thing happen last night where I was editing and testing a dvc pipeline stage manually (
python stages/my_stage.py
) and then accidentally randvc exp run
which I did not want to do, so I quickly pressedCTRL-c
(possibly more than once).Once it exited I realised my code was back to the state it was in at the previous git commit and I thought I had lost all my changes. Fortunately, I found them all in the stash
For other users having this problem here are the recovery steps:
I tried googling this and couldn't find any other reports of this problem or the recovery steps.
My immediate problem is solved but my questions are
Bill.
The text was updated successfully, but these errors were encountered: