HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

git missing — Show commits which aren't shared between two branches. Part of `git-extras`. More information: <http

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandshowgit missingclicommitssharedwhicharen

Problem

How to use the git missing command: Show commits which aren't shared between two branches. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-missing>.

Solution

git missing — Show commits which aren't shared between two branches. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-missing>.

Show commits which aren't shared between the currently checked-out branch and another branch:
git missing {{branch}}


Show commits which aren't shared between two branches:
git missing {{branch_1}} {{branch_2}}

Code Snippets

Show commits which aren't shared between the currently checked-out branch and another branch

git missing {{branch}}

Show commits which aren't shared between two branches

git missing {{branch_1}} {{branch_2}}

Context

tldr-pages: common/git missing

Revisions (0)

No revisions yet.