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

Lost changes when using --allow-unclean #9

Open
scott113341 opened this issue Jun 14, 2016 · 2 comments
Open

Lost changes when using --allow-unclean #9

scott113341 opened this issue Jun 14, 2016 · 2 comments

Comments

@scott113341
Copy link
Member

Oops... it reset all of my changes

@scott113341 scott113341 changed the title Data loss when using --cleanup and --allow-unclean Lost changes when using --allow-unclean Jun 14, 2016
@rtsao
Copy link
Member

rtsao commented Jun 15, 2016

This may be expected behavior. https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L75 (force checkout)

Perhaps push-dir should prompt for stashing changes if unclean?

@crswll
Copy link

crswll commented Aug 20, 2021

This just bit me pretty good. A warning would have been pretty awesome.

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