hanges not staged for commit: (use “git add <file>...“ to update what will be committed)

  (use "git restore --staged ..." to unstage)
	new file:   app/controller/cascade.ts
	new file:   app/model/cascade.ts
	new file:   app/router/cascade.ts
	new file:   app/service/cascade.ts
	new file:   app/validate/cascade.ts

Changes not staged for commit:
  (use "git add ..." to update what will be committed)
  (use "git restore ..." to discard changes in working directory)
	modified:   app/router/index.ts
	modified:   config/config.prod.ts

当我们提交代码时, git stash pop 之后,总有几个顽固的文件

拿不出来。不要着急。

依次执行命令:

git add . 

git status

这时候文件就变成绿色了,就可以提交了
如图:

 

hanges not staged for commit: (use “git add <file>...“ to update what will be committed)_第1张图片

你可能感兴趣的:(eureka,vue.js,elementui,git,typescript)