Microsoft/vscode

Force Update Git internals when Refreshing Explorer

Open

#239,851 创建于 2025年2月6日

在 GitHub 查看
 (4 评论) (1 反应) (1 负责人)TypeScript (74,848 star) (10,221 fork)batch import
buggithelp wanted

描述

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

贡献者指南