Git tip 落后于当前分支,冲突
Git tip is behind of current branch, conflict
我试图为失败的驱动程序制定解决方法,但最终证明这是不需要的。但现在我无法将我的本地版本推送到 master。
我是唯一一个更新我的分支的人,但是当我试图修复这个问题时,我在它之后做了几个版本和分支。我想拒绝所有其他版本并返回到我的(旧的)工作本地副本并将其推送到服务器。
但是当我这样做时我得到:
git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags
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.
它还想让我提取 2 个更新(我不想这样做,因为我的本地版本是有效的)。我也无法 "reset current branch to this commit".
使用git push -f,强制你的分支到原始分支。
我试图为失败的驱动程序制定解决方法,但最终证明这是不需要的。但现在我无法将我的本地版本推送到 master。 我是唯一一个更新我的分支的人,但是当我试图修复这个问题时,我在它之后做了几个版本和分支。我想拒绝所有其他版本并返回到我的(旧的)工作本地副本并将其推送到服务器。
但是当我这样做时我得到:
git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags
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.
它还想让我提取 2 个更新(我不想这样做,因为我的本地版本是有效的)。我也无法 "reset current branch to this commit".
使用git push -f,强制你的分支到原始分支。