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

git local-commits — Show local commits that haven't been pushed to origin. Any additional arguments will be passed direc

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandlocalshowhavenclicommitsgit local-commitsthat

Problem

How to use the git local-commits command: Show local commits that haven't been pushed to origin. Any additional arguments will be passed directly to git log. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-local-commits>.

Solution

git local-commits — Show local commits that haven't been pushed to origin. Any additional arguments will be passed directly to git log. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-local-commits>.

Show commits that haven't been pushed:
git local-commits

Code Snippets

Show commits that haven't been pushed

git local-commits

Context

tldr-pages: common/git local-commits

Revisions (0)

No revisions yet.