push code to git reported failed to push some refs to 'remote warehouse address' problem

Solution:

Enter the following two statements respectively:

1. Obtain the code from the remote and merge the local version

git pull --rebase origin master

2. Submit the code again

git push -u origin master

Guess you like

Origin blog.csdn.net/jiangjunyuan168/article/details/124331446