failed to push some refs to '[email protected]:OLitlleStone/mongodb.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote c

The main mistake is README.md because, when you're in the init git, your documents only appeared .git but did not appear. So you did not get uploaded. The solution to this problem is to first use

git pull --rebase origin master. Then you will README.md folder inside the folder. Then use

git push origin master can upload go up

 

Guess you like

Origin www.cnblogs.com/littleswan/p/11257051.html
Recommended