我使用的饭桶。我有一个分支, apifixes, 那是支离 master 前一段时间。大多数但并非所有的更改 apifixes 支已经合并到 master.至少,我认为,这种情况,因为当我试着去做

git branch -d apifixes

我得到的以下错误:

error: The branch 'apifixes' is not an ancestor of your current HEAD.

我怎么能告诉它的变化是在 apifixes 但是不在 master?

有帮助吗?

解决方案

git log master..apifixes

显示提交可从apifixes,但不是从主人

如果你想要显示两者之间的差别,使用 git diff 而不是

其他提示

git log --oneline --left-right --cherry-pick master...apifixes (注意这三点 ...)可能你想要什么。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top