git-local-commits - Man Page
List local commits
Examples (TL;DR)
- Show commits that haven't been pushed:
git local-commits
Synopsis
git-local-commits <args>
Description
Lists commits in the local branch that have not been pushed to the remote tracked branch. This requires that HEAD points to a branch which is tracking another branch.
Options
<args>
All arguments passed to git-local-commits will be passed directly to git-log.
Examples
$ git local-commits --graph
Author
Written by Michael Komitee <mkomitee@gmail.com>
Reporting Bugs
See Also
Referenced By
January 2022 Git Extras