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:
Read More:
- How to Solve Error: cannot open .Git/fetch_HEAD: Permission denied
- [Solved] There are test failures. Please refer to D:\Java_study\springboot\springboot-sugon-3\target\surefire-reports for the individual test results.
- [Solved] fatal: not in a git directory Error: Command failed with exit 128: git
- How to Fix Error Cannot find command ‘git‘ – do you have ‘git‘ installed and in your PATH?
- Fetch Error: Failed to execute ‘fetch’ on ‘Window’: Request with GET/HEAD method cannot have body
- Git pull and Git pull origin master Warning: Pulling without specifying how to reconcile divergent branches
- [Solved] Git error: refname refs/heads/master not found
- Git: How to Solve Error: Please commit your changes or stash them before you merge.
- [Solved] git Error: error: Your local changes to the following files would be overwritten by merge
- [Solved] Git Error: fatal: refusing to merge unrelated histories
- How to Solve Git Error: error: unable to unlink old ‘***.jar‘
- [Solved] Git Error: fatal: refusing to merge unrelated histories
- Springboot running shows application run failed [How to Solve]
- Git Error: refusing to merge unrelated histories [How to Solve]
- git error: The following untracked working tree files would be overwritten by checkout
- [Solved] Springboot Startup Error: Consider defining a bean of type ‘XXX’ in your configuration.
- git error:invalid path [How to Solve]
- HEXO D Command ERROR Deployer not found: git
- [Solved] IDEA Git Update Error: Master has no tracked branch