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

DOLT_CHECKOUT('-b', 'newbranch) should take working set changes to new branch #2723

Closed
VinaiRachakonda opened this issue Feb 1, 2022 · 2 comments

Comments

@VinaiRachakonda
Copy link
Contributor

For example doing DOLT_MERGE('--squash') leaves the state with a dirty working set. We should be able to do a DOLT_CHECKOUT from there.

@zachmu zachmu changed the title DOLT_CHECKOUT should support working set changes to a new branch DOLT_CHECKOUT('-b', 'newbranch) should take working set changes to new branch Feb 1, 2022
@zachmu
Copy link
Member

zachmu commented Feb 1, 2022

There's currently no way to stash session changes before changing branches. This would let customers move them to a new branch and commit them there.

@timsehn
Copy link
Sponsor Contributor

timsehn commented Aug 30, 2022

We decided that in the SQL context DOLT_CHECKOUT() does not take working set changes.

@timsehn timsehn closed this as completed Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants