我最近尝试将git的配置添加为全局配置。例如 git config --global core-editor "vim" 是的。我得到了下面给出的错误。
git config --global core-editor "vim"
error: could not write config file /home/admin/.gitconfig: Operation not permitted
我也试着加上 git config --global color.ui always 是的。为此,在终端中也会抛出上述错误。
git config --global color.ui always
请帮帮我。