1、进入修改的目录 git add . 2、查看状态 git status 3、提交到本地仓库git commit -m “提交信息” 4、提交到远程仓库git push origin(默认名字) master(分支)