I'm using a github repository and it has a master branch and a demo branch. All was good and both the master version and the demo version of the code are in use (master on a staging site, and the demo on a demo site). A live site runs on a tagged commit.
While making changes, I messed something up which did not reveal itself for a while so I needed to start looking through old commits to see how I introduced the problem.
On Github I saw commits for the demo branch as follows:
Changed logos to xxx ones
8c4a3eab22 Browse code
pwhipp authored 3 days ago
Feb 04, 2014
Paul Whipp
Changed archetype age_default to default to zero (and set all null va… …
6e4c9e8864 Browse code
pwhipp authored a month ago
Feb 03, 2014
Paul Whipp
Added demo.xxx allowed domain for RED
2f72e3b05a Browse code
pwhipp authored a month ago
So on a local repo, pulled up to date, I do "git checkout 8c4a3eab22". Then when I invoke git log locally, I see:
(red)~/wk/red $ git status
# HEAD detached at 8c4a3ea
(red)~/wk/red $ git log
commit 8c4a3eab22dc2ce9708c9aae00751e558ae81dd3
Author: pwhipp <paul.whipp@gmail.com>
Date: Thu Feb 27 10:55:21 2014 +1000
Changed logos to xxx ones
commit 2f72e3b05a005738d77ed12be475634aadf76b49
Author: pwhipp <paul.whipp@gmail.com>
Date: Mon Feb 3 10:58:08 2014 +1000
Added demo.xxx allowed domain for RED
Why is 6e4c9e8864 not shown by git log? It exists (I can check it out) but the differences between it and 8c4a3eab22 seem far greater than those indicated when I browse 6e4c9e8864 on github so I'm thinking there may be other commits I'm not seeing.
Do I need to RTFM somewhere to understand how the commits are being reported in the log call across the different branches?