Mac上Github Desktop报该Error时

Error:The output from the command could not fit into the allocated stdout buffer. Set options.maxBuffer to a larger value than 10485760 bytes

Github Desktop 报 Error: The output from the command could not fit into the allocated stdout buffer

解决方法:

1. 将显示属性改为“显示隐藏文件”
打开终端Terminals输入 defaults write com.apple.finder AppleShowAllFiles TRUE 回车,继续输入 killall Finder 回车
2. 找到要添加的repository的文件夹”
将该文件夹中的 .git文件删除即可
3. 将显示属性改回”
打开终端Terminals输入 defaults write com.apple.finder AppleShowAllFiles FALSE 回车,继续输入 killall Finder 回车

相关文章: