【发布时间】:2017-12-04 11:10:21
【问题描述】:
当我的分支在原始分支之前时,我想查看 git 提交。
我试过git log 它返回所有提交。但是,我只想查看从分支到原点/分支的 ahead commits
我的意思是,
On branch permissions Your branch is ahead of 'upstream/permissions' by 2 commits. (use "git push" to publish your local commits) nothing to commit, working directory clean
在这种情况下,我想查看 2 个提交
【问题讨论】:
标签: git git-commit git-log