In the development process, some common problems can always be remembered immediately, but sometimes some are not difficult, but the errors caused by habit are always difficult to find. When uploading the code from the warehouse, the following error occurred when
committing: I found a lot of methods, but it didn't work. After careful recall, I found that it turned out that before this, I pulled the early code test, and the code was not restored to the latest version. , so the HEAD of the submitted code is incorrect.
Solution:
restore the code to the latest version of the warehouse!
Error when submitting code to Git repository
Guess you like
Origin blog.csdn.net/fzt12138/article/details/120367276
Recommended
Ranking