error: failed to push some refs to 'https://github.com/..."

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed.
When git push error: Tips failed to push some refs to ...
Here Insert Picture Description
Solution:
git pull --rebase Origin Master
Here Insert Picture Description
then execute: git push -u origin master it
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/sinat_41747081/article/details/91379468