пятница, 6 июля 2012 г., 15:18:39 UTC+4 пользователь Konstantin Khomoutov написал: > > > > i was using netbeans ide and as CVS i was using git included into IDE. > > > > once i lanch standalone git-msys in my project directory > > git branch > > showed me > > ** no branch > > master > > you are not in any branch > > * > > i did > > *git checkout master* > > and i lost like 5 weeks of my work. if there is any way to restore it? > > Follow the advice given by Aneesh. > > And to get hold of this "detached HEAD" concept, read this: > http://sitaramc.github.com/concepts/detached-head.html >
if there are desctiption how to into not in branch. If I do have a single branch. How do I get out of it. I mean when i run *git branch * i was getting output that i am in branch "* no branch", but if i try *git checkout no branch* result is *such branch doesnot exist.* how i could possible to get in there. in fact now i did as it was proposed and i did checked out commit preceding time when i did destroyed repo into branch "recover". and them i did *git checkout recover *nothing happend. there are no files which suppose to be in where. and I did today 2 commits.* * -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/Txsi5TnNqPQJ. 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/git-users?hl=en.
