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

沒有留言:

如何下載Facebook 相簿跟影片

影片:透過chrome plug-in : Video Downloader for Facebook<sup>TM</sup> 相簿: 透過chrome plug-in : Tampermonkey 搭配script : Facebo...