Nitrous.io 到 github 正在连接

Nitrous.io to github connecting

我正在 Nitrous.io Ruby Rails 开发中使用 Nitrous.io,我正在尝试连接 GitHub。当我连接到 GitHub 时,我 运行 遇到了这个错误。有谁知道解决这个问题的方法是什么?单击后立即发生 "Connect to Github"。我确实尝试过,然后第一次取消了,因为我输入了错误的 github 登录信息。现在,每当我尝试连接到 Git 时,它都不起作用。这就是在浏览器中呈现的所有内容...

{"error":"state_mismatch","error_description":"state provided does not match cookie state"}

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

这些是 Nitrous.io 的步骤:

首先添加 SSH 密钥:https://community.nitrous.io/docs/connect-to-github. Then create a repo on your github account (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 master

当您通过 https://www.nitrous.io 登录时,当前连接到 Github 时出现问题。

尝试通过域 https://pro.nitrous.io/, and from there you can connect to Github 登录。