我是GitHub的新手.今天我在尝试将代码推送到GitHub时遇到了一些问题.
Pushing to git@github.com:519ebayproject/519ebayproject.git
To git@github.com:519ebayproject/519ebayproject.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'git@github.com:519ebayproject/519ebayproject.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Run Code Online (Sandbox Code Playgroud)
我还没有在存储库中推送任何东西,为什么我需要拉东西呢?
更新被拒绝,因为您当前分支的提示背后提示:它的远程对应物.集成远程更改.
我试图将本地octopress博客推向远程分支.但它上面说错误.
另一个是:我是否必须管理或推送本地更改到源或源分支.
当我做username.github.io时,我会看到我的本地博客的远程版本.(我使用rake deploy命令)但是我没有在我的username.github.io看到更新的博客.我怀疑分支上的原点和资源.