最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

git - Visual Studio Code Source control not displaying files modified - Stack Overflow

programmeradmin7浏览0评论

I am trying to setup a React project in my laptop , cloning from a repository. Using VS code . Any files changed or added is not displaying on the source control. However only when made some changes to package.json , it showed the file on source control with the commit button enabled. Otherwise any changes to any other files is not reflecting and the commit button is disabled. So far I have uninstalled and installed VS code. Re installed node , Git etc. Already have same setup in another laptop and working fine but need to move to this new laptop.

I am trying to setup a React project in my laptop , cloning from a repository. Using VS code . Any files changed or added is not displaying on the source control. However only when made some changes to package.json , it showed the file on source control with the commit button enabled. Otherwise any changes to any other files is not reflecting and the commit button is disabled. So far I have uninstalled and installed VS code. Re installed node , Git etc. Already have same setup in another laptop and working fine but need to move to this new laptop.

Share Improve this question asked Mar 20 at 23:34 Sz2013Sz2013 3582 gold badges7 silver badges21 bronze badges
Add a comment  | 

1 Answer 1

Reset to default -2

Autosave needed to be enabled. File > Autosave.

发布评论

评论列表(0)

  1. 暂无评论