Re: [git-users] Re: git object is empty error.

2012-08-27 Thread 树上
Thmoas, $ git fsck --full error: object file .git/objects/00/d2a5741d54116a156e477093c3fcf30b24c6b3 is empty fatal: loose object 00d2a5741d54116a156e477093c3fcf30b24c6b3 (stored in .git/objects/00/d2a5741d54116a156e477093c3fcf30b24c6b3) is corrupt 2012/8/27 Thomas Ferris Nicolaisen > Hi, > >

Re: [git-users] Re: git object is empty error.

2012-08-27 Thread 树上
rm those files? 2012/8/27 树上 > Thmoas, > > $ git fsck --full > error: object file .git/objects/00/d2a5741d54116a156e477093c3fcf30b24c6b3 > is empty > fatal: loose object 00d2a5741d54116a156e477093c3fcf30b24c6b3 (stored in > .git/objects/00/d2a5741d54116a156e477093c3fcf30b24c6b3) is corrupt > >

Re: [git-users] Re: git object is empty error.

2012-08-27 Thread 树上
i was rm .git/objects/00/d2a5741d54116a156e477093c3fcf30b24c6b3 ,than error massage: error: unable to find 00d2a5741d54116a156e477093c3fcf30b24c6b3 2012/8/27 树上 > rm those files? > > > 2012/8/27 树上 > >> Thmoas, >> >> $ git fsck --full >> error: object file .git/objects/00/d2a5741d54116a156e47

[git-users] Re: errors in the PDF version of the Pro Git book

2012-08-27 Thread Kin Lum
*In chapter 2, on the first page, I already see* * * *git commit m ’initial project version’* * * *the - is missing.* * * -- 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.goo

Re: [git-users] Re: git object is empty error.

2012-08-27 Thread Thomas Ferris Nicolaisen
Generally it's a bad idea to rm stuff, better off moving it to a different location. I'd say the best thing for you to do at this point is to re-clone your repository from someone else who has the latest version. Keep a copy of your corrupted local repository for safety though. If your work tre

[git-users] Re: errors in the PDF version of the Pro Git book

2012-08-27 Thread Thomas Ferris Nicolaisen
Hi, You'll find the latest version of the book in HTML form here: http://git-scm.com/book Not sure why the PDF is so outdated. Probably it is not automatically generated from the sources. In any case, problems can be reported to https://github.com/github/gitscm-next/issues On Monday, August

[git-users] git branch --contains output incorrect?

2012-08-27 Thread Fred
Hello, I have two remote branches master and branchB. I've merged master into branchB with git checkout branchB && git merge master. After that I did git rev-list master..branchB to see commits of branchB which are not in master and actually got some sha1 from master. So I decided to list bra

Re: [git-users] Re: git object is empty error.

2012-08-27 Thread 树上
i am in the branch "master". when checkout to "zc" branch , i was informed "object file is empty". $ git branch demo develop * master zc $ git checkout zc error: unable to find 00d2a5741d54116a156e477093c3fcf30b24c6b3 error: unable to read sha1 file of doc/build/html/_sources/props/buyhp.tx

Re: [git-users] git branch --contains output incorrect?

2012-08-27 Thread Michael Haggerty
On 08/27/2012 11:30 AM, Fred wrote: > I have two remote branches master and branchB. > I've merged master into branchB with git checkout branchB && git merge > master. o---o---o---o<- master \ \ o---o---O<- branchB Merge is not quite a symmetric option. Think of the comm