Push failed: Failed with error: Could not read from remote repository.

Git提交項目到Github的時候Push失敗。 首先檢查了ssh已經配置。 使用Android Studio 一直就是Push不上去。 然後嘗試使用git命令卻成功了。嚶嚶嚶。 千辛萬苦找了半天才找到是因爲 SSH 使用了 Built-in方式 將其修改爲 Native 然後就搞定了。 因爲Github上邊的SSH 配的是本地 C:\Users\zxb\.ssh\id_rsa.pub 中的值。
相關文章
相關標籤/搜索