📁 Files
README.md
a.txt
b.txt
c.txt
! ConflictS StagedM ModifiedU Untracked
No files staged. Use
git add to stage changes.📊 Commit Graphcurrent branchmain
git add to stage changes.git checkout <hash>), a tag (git checkout v1.0), or a remote-tracking branch (git checkout origin/main) all put you in detached HEAD.git checkout -b <name> to save any work. Then switch back to a normal branch with git checkout main.git log --oneline. There are 4 commits. We'll check out an older commit to see what detached HEAD looks like.