我已经让主人和来源/主卡在场边,和我不再有兴趣在该分支的变化。
我跟着这些指示让我的本地高手指点到正确的位置使当前的Git分支主分支
git checkout better_branch
git merge --strategy=ours master # keep the content of this branch, but record a merge
git checkout master
git merge better_branch # fast-forward master up to the merge
这工作得很好,除了git的身份使
C:\data\localprojects\Beko2011Azure [master]> git status
# On branch master
# Your branch and 'origin/master' have diverged,
# and have 395 and 2 different commits each, respectively.
#
nothing to commit, working directory clean
让我怎么劝,现在产地/主(github上),以反映我的主人。 任何孤立的原产/主可以安全地抛弃。