Background: commit but not yet push successfully
First switch to the main branch to pull the code. After confirming that it is the latest code, switch back to the branch that needs to be developed. Enter git log to view the commit instructions. Enter git reset --soft HEAD^ to undo this commit and submit the initialization code. Enter git status. At this time, you will be prompted that no code has been pulled. Just pull the code