今天在 wsl 中使用 git 是遇到這個錯誤, 如下:
git push --set-upstream origin master
Bad owner or permissions on ~/.ssh/config
fatal: Could not read from remote repository.
意思是 config 文件的權限不對, 正確設置如下:
chmod 600 ~/.ssh/config
今天在 wsl 中使用 git 是遇到這個錯誤, 如下:
git push --set-upstream origin master
Bad owner or permissions on ~/.ssh/config
fatal: Could not read from remote repository.
意思是 config 文件的權限不對, 正確設置如下:
chmod 600 ~/.ssh/config