* [971f835] (HEAD, original_idea) Now working here. Some comment 9
* [692b673] Some comment 8
* [3ebff62] Reverted to original idea. Some comment 7
| * [72ea01d] (master) Decided it wasn't worth the effort. Some comment 6
| * [985c1ad] Some comment 5
| * [4d7d491] Some comment 4
| * [0c697bb] Branched to try an idea. Some comment 3
|/
* [7280b1f] Some comment 2
* [5c2c6d0] Some comment 1
* [bc7aac6] Initial commit
So, master
got left behind. Not sure how that happened. Once I decided I was done with the branch that didn't work out I checked out [7280b1f]
and continued from there.
How do I fix this? I this the infamous "detached head" issue?
Does master
have to be aligned with HEAD
for optimal health of the repo?
My workflow is super-simple. This is just managing a single text file. In the vast majority of cases it's:
git add .
git commit -am "Some comment"
And that's it.
I decided to try an idea and created a branch. When it didn't work out I checked out the root of that branch and went back to the git add/commit
routine.