idea中使用git提交修改的代码时,报nothing added to commit but untracked files present--git commit

问题:idea中使用git提交修改的代码时,报nothing added to commit but untracked files present--git commit

 

解决方法:在idea中点击VSC -> Refresh File Status

idea中使用git提交修改的代码时,报nothing added to commit but untracked files present--git commit