<1>修改本地文件让后放在本地仓库
修改本地文件,就是在之前创建的本地git的目录的文件里修改,修改后
$ cd //+文件名
$ git add
//+文件名
$ git add -m"" //引号内为版本内容
<2>将远程仓库的内容拉下来
$ git pull origin master
error: You have not concluded your merge (MERGE_HEAD exists).
hint: Please, commit your changes before merging.
fatal: Exiting because of unfinished merge.
$ git commit -m" "//引号内为版本内容
出现结果是
然后在将远程仓库的内容拉下来:
$ git pull origin master
出现结果是下面样子,成功
<3>然后上传
$ git push -u origin master