git 克隆 提交本地修改到远程方法

最近一个项目,提交总报错

按照下面的流程就ok了

$ git clone
$ git init
$ cd shop
$ git branch -al  //查看所有分支
$ git pull origin master  //拉取
$ git branch -vv   //绑定本地和远程分支
$ git pull   //再次拉取
$ git status  //查看状态
$ git add  *  
$ git commit -m '提交测试'
$ git push

还不明白看下面原答案

https://blog.csdn.net/weijinqian0/article/details/76217014

原文地址:https://www.cnblogs.com/rong88/p/10681564.html