On 24 Mar 2009, at 11:48, Ciaran wrote:
I think I understand it reasonably well now (a suitable purchas of Practical Version Control with Git from the pragmatic programmers helps ;) )... but the thing that keeps getting me, is when I'm somehow working, but not on a branch, and I commit... it lets me commit, I can see in the log I've commited, bu t where to?! .. If I switch to my master then how do I get my changes across, where've they gone ?
I only ever find myself not a branch when working in submodules or testing a specific revision. If you can see the commit in the log then you can cherry-pick it into the branch you want it on I imagine.
`git checkout master && git cherry-pick <commit>` I think. C --- Caius Durling [email protected] +44 (0) 7960 268 100 http://caius.name/
PGP.sig
Description: This is a digitally signed message part
