【发布时间】:2018-09-16 20:17:18
【问题描述】:
我刚刚在本地分支上运行了 git merge master,解决了它所呈现的冲突。
但是,git 现在不再允许我使用 git push 提交到我的分支。我刚刚运行了 git pull 并收到了这样的反馈:
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=<remote>/<branch> 4318-niall-activities
我不想修改我当前的工作,但我想提交一个包含我所有当前工作的拉取请求。任何人都可以提供一些建议吗?
【问题讨论】:
-
4318-niall-activities是否存在于远程存储库中,您之前是否将此分支推送到它? -
@castis 是的,我一直在用它一整天,但是由于我已经将master合并到分支中,它不允许我推送到git
-
你对错误信息有什么不明白的地方?
-
@jhpratt 将 git pull 4318-niall-activities 覆盖我在本地分支机构的工作?
标签: git