错误在Heroku在github上改变用户名后

问题描述 投票:1回答:1

首先,这可能不会被绑定到用户名的变化,但它似乎是最可能的原因。

我试图改变在Github上我的用户名后更新我的Heroku应用程序代码。我越来越推到以后的Heroku以下。

! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'https://git.heroku.com/appname.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
github heroku username
1个回答
0
投票

git pull会,默认情况下,从origin拉(可能指的GitHub),不heroku

检查你的遥控器有:

git remote -v

尝试git pull heroku

© www.soinside.com 2019 - 2024. All rights reserved.