I had a git repo in a Dropbox folder for quite some time. Now it is corrupted. (Never put git repos in Dropbox!) I deleted a few empty objects files. Now, a git fsck
shows a list of broken links, dangling blobs, and missing trees.
However, I'm pretty sure that my working copy is fine. So at least the current state can be saved, but I may lose some history.
Is it possible to let git remove broken commits?
Is it possible that the missing stuff can be repopulated from the working copy or would git notice that?