您的位置:首页 > 其它

# Please enter the commit message for your changes. Lines starting # with '#' will be ignored

2018-02-10 21:28 1176 查看
1.git提交的时候遇到
# 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里面

2.然后git push -u origin master即可
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐