Git 提交代码报错

1、报错代码:use “git add …” to include in what will be committed

2、执行 git commit -m “描述语句”  提交代码时报错。

 

3、网上找了很多,但是后面还是发现了 ,执行“git add …”,有提示错误。

 

4、解决访问:按照git add . 的提示,进行修改,重新执行“git add …”,就可以了。

 

posted @ 2023-12-19 14:14  信铁寒胜  阅读(99)  评论(0)    收藏  举报