Looking at the prompts, it seems that the branch of the remote warehouse is newer than your local branch. You need to use the git pull command to pull down the code from the remote warehouse first, so that the local code can be updated before you can use git push to the remote warehouse. If there is a conflict, it needs to be resolved. You can refer to this blog post: Git usage-conflict resolution
Have you also written code in the remote warehouse? If so, first
git pull
再git push
Looking at the prompts, it seems that the branch of the remote warehouse is newer than your local branch. You need to use the git pull command to pull down the code from the remote warehouse first, so that the local code can be updated before you can use git push to the remote warehouse. If there is a conflict, it needs to be resolved.
You can refer to this blog post:
Git usage-conflict resolution