Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exp: apply should keep stash and hint at how to recover pre-apply workspace #7955

Closed
dberenbaum opened this issue Jun 30, 2022 · 1 comment · Fixed by #8994
Closed

exp: apply should keep stash and hint at how to recover pre-apply workspace #7955

dberenbaum opened this issue Jun 30, 2022 · 1 comment · Fixed by #8994
Assignees
Labels
A: experiments Related to dvc exp p1-important Important, aka current backlog of things to do

Comments

@dberenbaum
Copy link
Collaborator

Related to #6930 and iterative/vscode-dvc#1956.

When doing dvc exp apply, it's possible to overwrite dirty changes in your workspace. We already stash those changes to merge them as part of apply. If we retain that stash and hint to users how to recover it, we will avoid the possibility that users lose their work.

@pmrowla Do we stash untracked changes too?

@pmrowla
Copy link
Contributor

pmrowla commented Dec 26, 2022

@pmrowla Do we stash untracked changes too?

Yes, we stash the untracked changes before applying

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: experiments Related to dvc exp p1-important Important, aka current backlog of things to do
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants