如果git创库是共享的话 最好先把另外一个前端的上传的东西先 git pull +远程仓库的地址 再执行一下这些命令: 1、git add . 2、git commit -m "备注git的内容" 3、git push +远程仓库地址