Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've never run into index.lock nor had anyone else run into it after it being the "git guy" at various employments.

Garbage collection is a thing, of course, but it could be completely disabled if necessary. Most people don't bother because the defaults are sensible in virtually all cases.

Almost all git problems people have are because they don't know about the reflog and don't understand that git is fundamentally append only.



> I've never run into index.lock nor had anyone else run into it after it being the "git guy" at various employments.

Weird, to me it happened several times

> Garbage collection is a thing, of course, but it could be completely disabled if necessary

Yeah, I do set reflogs to not expire




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: