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
Uncommitted staged changes after pull #1285
Comments
I met the same problem. I have to unstage them all, discard them, check out to another branch, and finally check out back to the first branch. I am editing files on a remote linux machine.
|
@ferreroxc how are you pulling? |
Can you please verify this fix in the insiders edition? You can install the insiders edition from here. Be sure to disable/uninstall the stable version of GitLens first. |
Just as yaroslavsadin described, "hitting repository ↓ button and confirming Pull changes". |
When I was trying this insiders edition, I met another problem, which occurred in both the stable and insiders edition. |
@ferreroxc Hrm, yeah please open a new issue. Although, the refresh button doesn't affect git in any way it just (should) re-render the tree. |
On this machine (let's call it the first Mac), I still face the problem of the broken "Refresh" button, which I open a new issue here. I tried to uninstall -> reinstall Gitlens, reload VScode Window and install VScode Insider, but none helped. However, when I try on my second Mac, both the "Refresh" button and the "Pull" button work completely fine. Some background info of my second Mac:
Since my first and second Mac share the roughly same OS, VScode, and Git version, I decided to uninstall and reinstall the stable VSCode on my first Mac and see if the problem can be solved. |
Thank you so much Eric! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm noticing that
/usr/bin/git -c core.quotepath=false -c color.ui=false fetch -u origin master:master
command is used to Pull changes (hitting repository ↓ button and confirming Pull changes). Problem is, it will update the working tree in a way that I see uncomitted staged changes in theSource control
section, as if I reverted all the pulled changes back locally. Simplegit pull
as well as Pull command fromSource control
works fine. Is that the correct git command to pull changes?The text was updated successfully, but these errors were encountered: