步骤一 git add 文件名 步骤二 git commit -m "修改的情况" 步骤三 git push <远程主机名> <本地分支名>:<远程分支名> 例如: git push origin master:master 也可以简写为: git push origin master