2016年5月12日 星期四

how to resolve brew update for Error " Failed to traverse parents of commit"

Error:

➜ local git:(master) brew update
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
error: The last gc run reported the following. Please correct the root cause
and remove .git/gc.log.
Automatic cleanup will not be performed until the file is removed.

error: Could not read b1f1deb40aa1a9e22e1242ddc70f1e1c2d6ba9fa
fatal: Failed to traverse parents of commit 23ef4134e7ec6d829dd5a424e8820fb54aede480
error: failed to run repack

 

 

 

1.  go to brew git folder

#cd $(brew --prefix)

 

2.tree .git to see all git tree

 

3.

#git prune && git gc

沒有留言:

Obsidian 插件介紹:Text Generator

Text Generator 是 Obsidian 的一個插件,它可以根據給定的提示自動生成文本。這個插件使用 GPT-3 語言模型,能夠產生類似人類的文本,非常適合編寫故事、文章、電子郵件和其他類型文本。 主要功能: **生成文本:**根據提示生成各種長度的...