Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Resolve failed to push some refs to

Shulou Source: shulou.com Published: 2022-06-01 06:03:14 10月04日 Update

Because of github I used dev and feature branches, teamwork merged into dev, and personal development was all feature..... Git pull origin dev appears in the local feature today

Errors may occur when using git to push to gitHub the source code

The main reason for the error is that the README.md file in github is not in the local code directory

You can merge code with the following command [Note: pull=fetch+merge]

Git pull-rebase origin dev

After executing the above code, you can see that there are many README.md files in the local code library, and the red area is the conflict file. well, under conflict resolution editing, pull is normal.

Tags: Code files conflicts individuals branches regions reasons can be passed commands teams source code directories red errors cooperation development Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno macOS NVidia Huawei Apple