1GIT-MISSING(1) Git Extras GIT-MISSING(1)
2
3
4
6 git-missing - Show commits missing from another branch
7
9 git-missing [<first branch>] <second branch> [<git log options>]
10
12 Shows commits that are in either of two branches but not both. Useful
13 for seeing what would come across in a merge or push.
14
16 [<first branch>]
17
18 First branch to compare. If not specified, defaults to currently
19 checked out branch.
20
21 <second branch>
22
23 Second branch to compare.
24
25 [<git log options>]
26
27 Any flags that should be passed to ´git log´, such as --no-merges.
28
30 Show commits on either my current branch or master but not both:
31
32
33
34 $ git missing master
35 < d14b8f0 only on current checked out branch
36 > 97ef387 only on master
37
38
39
40 Show commits on either branch foo or branch bar but not both:
41
42
43
44 $ git missing foo bar
45 < b8f0d14 only on foo
46 > f38797e only on bar
47
48
49
51 Written by Nate Jones <nate@endot.org>
52
54 <http://github.com/tj/git-extras/issues>
55
57 <http://github.com/tj/git-extras>
58
59
60
61 April 2018 GIT-MISSING(1)