0

我创建了一个 Rails 应用程序的新分支,以进行一些更改以修复一些前端错误。我不明白为什么,但 git/github 不让我推到那个分支。输入我的 github 密码后,它一直挂在那里,直到我取消它。

% git status
# On branch fefixes
nothing to commit (working directory clean)
% git push origin fefixes
Username for 'https://github.com': {me}
Password for 'https://{me}@github.com':
^C

我在这里做错了什么?肯定是我,因为github的状态现在很好。

4

1 回答 1

0

检查您的远程“来源”以确保 URL 看起来正确:

git remote -v

接下来,尝试列出遥控器的内容:

git ls-remote origin

如果上述步骤一切顺利,Git 肯定会连接到 GitHub 托管存储库。再试git push origin fefixex一次。

于 2013-08-25T21:38:48.587 回答