我正在使用Nitrous.io进行Rails开发,并试图与GitHub连接。当我连接到GitHub时,我遇到了这个错误。有人知道解决这个问题的办法吗?一旦点击“连接到Github”,就会立即发生这种情况。我尝试了,然后第一次取消了,因为我输入了错误的信息,我的github登录。现在,每当我试图连接到Git时,它都不起作用。这就是在浏览器中呈现的所有内容.
{“错误”:“state_mismatch”,“error_description”:“状态提供不匹配cookie状态”}
发布于 2015-08-26 00:05:09
当您通过https://www.nitrous.io登录时,当前存在一个连接到Github的问题。
尝试通过域https://pro.nitrous.io/登录,然后您就可以通过连接到Github登录。
发布于 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,然后
$ 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 masterhttps://stackoverflow.com/questions/32214207
复制相似问题