📁 Files
No files yet. Create one!
! ConflictS StagedM ModifiedU Untracked
No files staged. Use
git add to stage changes.📊 Commit Graphcurrent branchdetached HEAD
git add to stage changes.git checkout aaaa1111 to look at an old commit. Then you got carried away and made two more commits while in detached HEAD state.
Now Git is warning you: "You are in detached HEAD state."
If you switch branches now, those commits will be lost. Save them to a new branch first.Solve the problem by using the correct Git commands.