Your commit would not be lost because of that sequence. Try running git reflog
And see if your commit shows up there. Tom On Mon, Feb 16, 2009 at 1:35 PM, rick_2047 <[email protected]>wrote: > > Ok i know thats an awful subject line but i just lost my data really. > > I was working on a fork which i pulled from git hub and .... may b i > should just give you the commands of what i did. > > $git clone <clone url here> > $git checkout origin/docs > <did lots of editing here but on only one file> > $git add <file name here> > $git commit > $git checkout master > I was sleepy and again opened the file to see no changes were done. > But when i woke up next day and again did > $git checkout origin/docs > > I couldn't find the changes. My logs confirm what i am saying. So plz > help me if you can. > > > > -- Tom Preston-Werner github.com/mojombo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GitHub" 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/github?hl=en -~----------~----~----~----~------~----~------~--~---
