我的拉取请求已成功合并,但是,在我的 PR 中合并这些提交后,我的分叉存储库仍然显示前面有 5 个提交。
有什么办法可以让一切再次均衡吗?对于未来的拉取请求来说,这可能是一个问题,因为过去的提交会出现在拉取请求中。
尝试过:来自 stackoverflow 上其他类似问题的各种命令,例如:
git fetch --all
git push --force upstream/master:master
git push --force
git fetch upstream
任何带有 UPSTREAM 的命令都upstream
将它显示为未知存储库。
fatal: 'upstream/master:master' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
预期:分叉存储库和原始存储库之间的所有内容均等。实际结果:据我所知,任何存储库都没有发生任何事情。
看起来 bsmg/wiki (master) 已经合并到你的 repo 的 master 中了。
基础存储库:bsmg/wiki (master) <--- 头存储库:overlappingd/bsmg-wiki (master)
从 github ui 来看,正确的合并应该是这样的。