首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Nitrous.io到github连接

Nitrous.io到github连接
EN

Stack Overflow用户
提问于 2015-08-25 21:14:01
回答 2查看 151关注 0票数 0

我正在使用Nitrous.io进行Rails开发,并试图与GitHub连接。当我连接到GitHub时,我遇到了这个错误。有人知道解决这个问题的办法吗?一旦点击“连接到Github”,就会立即发生这种情况。我尝试了,然后第一次取消了,因为我输入了错误的信息,我的github登录。现在,每当我试图连接到Git时,它都不起作用。这就是在浏览器中呈现的所有内容.

{“错误”:“state_mismatch”,“error_description”:“状态提供不匹配cookie状态”}

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2015-08-26 00:05:09

当您通过https://www.nitrous.io登录时,当前存在一个连接到Github的问题。

尝试通过域https://pro.nitrous.io/登录,然后您就可以通过连接到Github登录。

票数 2
EN

Stack Overflow用户

发布于 2015-08-25 23:09:20

我猜你放错遥控器了。您必须删除并正确设置它:git remote remove origin。你不恰当地设置了什么信息?

以下是Nitrous.io的步骤:

首先添加SSH键:https://community.nitrous.io/docs/connect-to-github。然后在您的github帐户(https://github.com/new)上创建一个回购。然后运行git init,然后

代码语言:javascript
复制
$ git remote add origin https://github.com/user/repo.git
# Set a new remote: your remote. 

$ git remote -v
# Verify new remote
# origin  https://github.com/user/repo.git (fetch)
# origin  https://github.com/user/repo.git (push)

$ git add .
$ git commit -m "initial commit"
$ git push origin master
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32214207

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档