【发布时间】:2020-04-14 17:20:57
【问题描述】:
我将我的一个公共 github 存储库克隆到我的驱动器中。我可以将 colab 与笔记本一起使用。我也可以拉。但是,尽管已正确配置,但在尝试推送时仍会遇到以下错误:
!git config --global user.email "my_email"
!git config --global user.name "my_user"
在执行!git push origin master 时出现以下错误:
fatal: could not read Username for 'https://github.com': No such device or address
以前有人遇到过这个问题吗?
【问题讨论】:
-
你有没有试过"!git remote add origin https://
: github@github.com/ /reponame.git" "!git push -u origin master " ?
标签: git github google-colaboratory