Git Fast-Forward Merge requires a pull first

后端 未结 3 1147
臣服心动
臣服心动 2021-01-23 13:11

I have a remote repo which i have changed the last time i cloned it.

The local Repo also change some of the files in my local repo.

What i would like to do is pu

3条回答
  •  萌比男神i
    2021-01-23 13:29

    git does not push the local changes until the server changes has pull and merged with local. so when you going to push the local changes then git prompt to pull (merge) server changes first.

    git pull then git push

提交回复
热议问题