GIT: head has dissapeared, want to merge it into master.
Posted
by samgoody
on Stack Overflow
See other posts from Stack Overflow
or by samgoody
Published on 2010-03-25T20:15:20Z
Indexed on
2010/03/25
20:23 UTC
Read the original article
Hit count: 173
git
The top image is the output of: git reflog.
The bottom is what GITK in GIT GUI (msysgit) shows me when I look at all branch history.
The last few commits do not show on GIT GUI.
- Why do they not show on GITK (at least as a branch or something)?
- How do I merge them into master?
- I gather this happened when I checked out tag 0.42. Why is that not the same as master? (I had tagged the master in its latest state)
- When I click push, why does the remote repo claim to be up to date.. shouldn't it try to update these commits into whatever branch they are in?
The first of the questions is important - I would like to begin to understand what GIT is thinking. It's more oracle than logic at this point.
If it makes a difference to see the earlier history, the project is a [pretty powerful] JS color picker that can be viewed here in its entirety.
© Stack Overflow or respective owner