In use brew when,Often you will encounter all kinds of weird errors,Such as updating time often encountered:
1 2 3 |
fatal: git-write-tree: error building trees Cannot save the current index state Error: Failure while executing: git stash save --include-untracked --quiet |
and this:
1 |
Error: Failure while executing: git pull --ff --no-rebase --quiet origin refs/heads/master:refs/remotes/origin/master |
Experiencing these problems,Eighty per cent of your brew directory permissions error。
Use the following command to repair[……]