1.git提交的时候遇到# Please enter the commit message for your changes. Lines starting
的问题,提示你说是因为代码中带有注释,需要去掉注释,但是完全不需要这样,在git commit文件时指令为git commit -m “文件名”,这样就可以将文件提交到github里面
with '#' will be ignored, and an empty message aborts the commit.
2.然后git push -u origin master即可
# Please enter the commit message for your changes. Lines starting # with '#' will be ignored
猜你喜欢
转载自blog.csdn.net/liuzemeeting/article/details/79307028
今日推荐
周排行