克隆一个工程 git clone 地址 添加所有修改过的代码到暂存区 git add * 将暂存区的修改提交到本地仓库 git commit -m "注释" 将本地分支的更新推送到远程主机上 git push origin master