1、新建了文件product-all.html 2、进入文件夹目录下 执行命令: git commit -m "提交文件的备注" 3、推送都github上就可以了 执行命令 git push -u origin master 4、在github查看,已经有了新建文件