-
Notifications
You must be signed in to change notification settings - Fork 28.9k
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
"Git: Stage Changes" command doesn't work during rebase conflict #113302
Comments
(Experimental duplicate detection)
|
I think I'm getting the same issue on Windows 10
ReproduceUsing the repository I created for testing;
VideoHere's a video I made reproducing the error Git logHere's the log from the moment where it generates the error.
Check: I disabled/uninstalled all VSCode Git extensions. |
@subz390 Your issue is unrelated to this report. And it sounds like you have an issue with the core.editor in your git config. (I used your repo and didn't experience any issue) |
@eamodio thanks for looking into the issue. I came to the same conclusion as you and so meticulously went through Google for answers, all of which suggested the same thing. When I exhausted all those possible solutions, I searched all the issues in this repo and only found this issue. So to summarise:
|
I can also reproduce:
This is the output:
Version
|
I was expecting to try adding my files in rebase the quick way with git stash changes and hit the same issue. |
There have been some improvements in how conflict resolution is being handled while rebasing. These improvements are included in the latest Stable release ( |
There have been some improvements in how conflict resolution is being handled while rebasing. These improvements are included in the latest Stable release ( |
I believe this issue is still present. I followed subz's helpful steps here #113302 (comment). On stage 5, I attempted to stage changes using However I did not run into the invalid argument that subz ran into--likely fixed in a separate issue. |
The "Git: Stage All Merge Changes" as a community contribution submitted by the community. When it comes to commands that apply for all the resources in a group (ex: "Stage All Changes", "Stage All Merge Changes") it does make sense to have individual ones for each group. Having said that, it does make sense to me to have one unified command that stages all changes of one resource independent in which group it is. I pushed changes to enable the "Git: Stage Changes" to work with the resources in the merge group as well. You should be able to assign a keybinding to it. |
This bug has been fixed in the latest release of VS Code Insiders! @csk-ableton, you can help us out by commenting If things still don't seem right, please ensure you're on version a803dc3 of Insiders (today's or later - you can use Happy Coding! |
Steps to Reproduce:
Expected: The changes have been staged
Actual: Nothing happens and I don't get any feedback
There is an additional "Git: Stage All Merge Changes" command that appears during the conflict which stages the file as expected. However it's unclear to me why I can't use the other command to stage a single file already. I would like to put it on a keyboard shortcut but would need multiple shortcuts in case of a conflict. I created a simple task that just calls
git add ${file}
which gives me the expected behavior as a workaround.Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: