1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
git-missing(1) -- Show commits missing from another branch
=========================================================
## SYNOPSIS
`git-missing` [<first branch>] <second branch> [<git log options>] [[--] <path>...]
## DESCRIPTION
Shows 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).
## EXAMPLES
Show commits on either my current branch or master but not both:
$ git missing master
< d14b8f0 only on current checked out branch
> 97ef387 only on master
Show commits on either branch foo or branch bar but not both:
$ git missing foo bar
< b8f0d14 only on foo
> f38797e only on bar
Show commits on either my current branch or master but not both, limited to the
src/ directory:
$ git missing master -- src/
< ed52989 only on current checked out branch, in src/ directory
> 7988c4b only on master, in src/ directory
## AUTHOR
Written by Nate Jones <<nate@endot.org>>
## REPORTING BUGS
<<https://github.com/tj/git-extras/issues>>
## SEE ALSO
<<https://github.com/tj/git-extras>>
|