![]() |
![]()
| ![]() |
![]()
NAMEgit-missing - Show commits missing from another branch SYNOPSISgit-missing [<first branch>] <second branch> [<git log options>] [[--] <path>...] DESCRIPTIONShows commits that are in either of two branches but not both. Useful for seeing what would come across in a merge or push. Optionally, the comparison can be limited to specific paths. OPTIONS[<first branch>] First branch to compare. If not specified, defaults to currently checked out branch. <second branch> Second branch to compare. [<git log options>] Any flags that should be passed to ´git log´, such as --no-merges. [[--] <path>...] Optional path specifications (pathspec) to limit the comparison to specific files or directories. For more details about the pathspec syntax, see the pathspec entry in gitglossary[7] https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefpathspecapathspec. EXAMPLESShow commits on either my current branch or master but not both:
Show commits on either branch foo or branch bar but not both:
Show commits on either my current branch or master but not both, limited to the src/ directory:
AUTHORWritten by Nate Jones <nate@endot.org> REPORTING BUGS<https://github.com/tj/git-extras/issues> SEE ALSO<https://github.com/tj/git-extras>
|