-
-
Notifications
You must be signed in to change notification settings - Fork 122
Remove breaks when used with pull #492
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
Comments
You're probably right, but honestly I'm afraid that if I change that behavior then I'm going to break someone else's workflow :/ |
😅 I don't think a workaround for this specific situation is good. I think it's reasonable to expect that a commit needs to be done before another pull is done. If people use this action to say "ignore everything that has happened in origin, I just really want these files removed, then the workflow is flawed. Currently a user can:
I think it's reasonable to encourage the user to fix the conflict somehow, and not just hide it. If the commit is done just after the first round of add/remove, then those changes are clearly described. Then follows a potential |
Uh oh!
There was an error while loading. Please reload this page.
Consider this:
First the file is removed here
Then if
pull
is used, the file is also removed here which breaks the action, since the file is already marked as removed.If one wants to rebase it does not make sense that the commit is done after the pull. The commit should be done, then a pull rebase should happen, that would not break the flow.
I guess it's hard to account for these different approaches.
The text was updated successfully, but these errors were encountered: