git-fsck

Git: what is a dangling commit/blob and where do they come from?

二次信任 提交于 2019-11-26 12:02:13
问题 I\'m looking for the basic info on dangling commits & blobs. My repo seems fine. But I ran git fsck for the first time to see what it did and I have a long list of \'dangling blobs\' and a single \'dangling commit\'. What are these things? Where did they come from? Do they indicate anything unusual (good or bad) about the state of my repo? 回答1: During the course of working with your git repository, you may end up backing out of operations, and making other moves that cause intermediary blobs,