【问题标题】:r studio fatal: No configured push destinationr studio 致命:未配置推送目标
【发布时间】:2017-11-12 01:33:02
【问题描述】:

我正在尝试使用 R 包 blogdown 创建博客。 最后一步是将我的文件推送到 Github,然后我点击了“Push Branch”, 这给了我这个错误信息:

我对 Git/Github 与 R Studio 的集成不是很有经验。有人可以详细说明该怎么做吗?

【问题讨论】:

标签: r git rstudio blogdown


【解决方案1】:

语法

您可以像这样将远程 git 服务器 URL 添加到本地 git 存储库配置

git remote add origin your_git_repository_url

示例

在git本地仓库文件夹,发布命令:

git remote add origin https://github.com/donhuvy/java9.git

了解详情

https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes#_adding_remote_repositories(官方参考文档)

https://help.github.com/articles/adding-a-remote/

【讨论】:

猜你喜欢
  • 2012-04-19
  • 1970-01-01
  • 2018-05-11
  • 1970-01-01
  • 2019-09-02
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多