Keep Git Reflog Indefinitely?
问题 I tend to be a bit paranoid about my data, including the ability to recover it. Git reflog data is pruned after 30 days. Is there a way of setting it so that the reflog data is maintained and kept indefinitely? Any major advantage or disadvantage (other than space or speed considerations) to doing so? 回答1: Caveat: reflogs are local and are not sent/received with push/pull operations. Cons: reflogs may result in (otherwise) unreachable snapshots (and consequently blobs) being kept around,