問題記錄
mac中,使用vue init webpack project 后,在sublime中打開,但是添加新文件夾和刪除,總提示沒有權限,
然后用git提交吧 也不行,每次都要sudo
出現的提示如下:
Unable to save ~/Documents/GitHub/qunaer/src/pages
Error: Permission denied
could not lock config file .git/config: Permission denied
Unable to write upstream branch configuration
解決辦法
放開文件夾讀寫權限
右擊文件夾 --> 顯示簡介--> 下面的鎖,修改staff和everyone權限-->
點擊 “應用到包含的項目”

