Confirm current on which branch: git branch
Separating the head pointer is determined, and then switch back to the main branch
Switching operation: git checkout master
Enter github account password, and then you can push a success,
Confirm current on which branch: git branch
Separating the head pointer is determined, and then switch back to the main branch
Switching operation: git checkout master
Enter github account password, and then you can push a success,