Upload git compilation failure and roll back

First, click abadon on the server's git. Then the local must roll back to the previous version.

Choose this one. Then, 

Be sure to choose Mixed here. The code will be kept. Then modify the code and submit again.

So what if you accidentally clicked the revert commit code in the reset step in the previous step. At this time, the native code is rolled back and cannot be found. Then you can reset head

 

Choose hard here

 

 

Guess you like

Origin blog.csdn.net/howlaa/article/details/120860686