我有三个Git
提交,我承诺本地,但没有推到GitHub。我想查看所有三个提交的更改/差异,我如何查看所有差异?查看本地提交git更改/差异没有推送到远程
我想:git log --branches --not --remotes
这让我看到三个提交,但每次不是所有不同点/变化。
commit c08fbb72ae6a06e8b2ff3dbbb96fb555a43f4136
Author: Justin <[email protected]>
Date: Mon Sep 10 18:17:02 2012 -0700
Updated order of requires in Requires.php
commit 041fe19a48269a8aea2ccf90f53568893d4e0158
Author: Justin <[email protected]>
Date: Mon Sep 10 17:56:42 2012 -0700
Checking for app.config.php in Requires.php
commit 61c103a8a122bcde2311d081a8340ee1dd71997c
Author: Justin <[email protected]>
Date: Mon Sep 10 17:42:20 2012 -0700
Version bump 0.4.0. See CHANGELOG.md
感谢您的帮助。
如果你想看到每个提交的差异,使用'git log -p --branches --not --remotes'。 '-p'代表补丁。它会显示每个提交的统一差异。 – jszakmeister
谢谢你的工作。 – Justin