本地修改文件到git

git status

git add .

git commit -m "add routert"

git pull origin master

$ git push -u origin master

原文地址:https://www.cnblogs.com/Serendipity-zly/p/12907045.html