问题

使用git commit -a 提交的时候遇到

# Please enter the commit message for your changes. Lines starting 
with '#' will be ignored, and an empty message aborts the commit.
的问题,

解决方案

提示你说是因为代码中带有注释,需要去掉注释,但是提交的数据本来就没有注释 怎么解决呢?

非常简单在git commit文件时指令为git commit -m “文件名”,这样就可以将文件提交到github里面,然后git push -u origin master即可

       

Logo

电影级数字人,免显卡端渲染SDK,十行代码即可调用,工业级demo免费开源下载!

更多推荐