Skip to content

Force Update Git internals when Refreshing Explorer #239851

@ggedde

Description

@ggedde

Currently, I still get occasional issues in the Explorer with GIT either not graying out ignored files or still showing files as modified even though I committed them. The only solution for this is to close the project and re-open it.

While this is not a full solution to the issues above I would love to be able to just click on the "Refresh Explorer" button and have it also refresh the GIT checks as if I closed and re-opened the project. Maybe entirely reloading GIT for the project would be best. Honestly, I did this originally, thinking that this would have worked, but it does not.

This should also refresh GIT checks on all open documents as many times it will still show the title as modified or the gutter and minimap markers for modified lines even though everything is committed.

There are many open issues that this might help with.
#70963
#239690
#238798

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buggitGIT issueshelp wantedIssues identified as good community contribution opportunities

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions