What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-02-13 08:25:03
git fix detached head
2388 Detached head means you are no longer on a branch, you have checked out a single commit in the history (in this case the commit previous to HEAD, i.e. HEAD^). If you want to delete your changes associated with the detached HEAD You only need to che... Add solution