git local-commits
all
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 info →Examples (1)
Show commits that haven't been pushed
made by @shridhargupta | data from tldr-pages