(use "git restore --staged <file>..." 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 <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: app/router/index.ts
modified: config/config.prod.ts
当我们提交代码时, git stash pop 之后,总有几个顽固的文件
拿不出来。不要着急。
依次执行命令:
git add .
git status
这时候文件就变成绿色了,就可以提交了
如图: