Project scenario:
springboot+git
Problem Description:
For some reasons, the local code restores the historical node, then restores it, writes the code for submission, and the branch displays
detached head
Solution:
Rename current branch: git branch new_branch
idea operation: