On Tue, Mar 24, 2009 at 11:53 AM, Caius Durling <[email protected]> wrote:
> 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. > it was submodules ;) - cj. > > `git checkout master && git cherry-pick <commit>` I think. > I'll check that out <sic> thanks :) - cj. > > C > --- > Caius Durling > [email protected] > +44 (0) 7960 268 100 > http://caius.name/ > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "NWRUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nwrug-members?hl=en -~----------~----~----~----~------~----~------~--~---
