#!/bin/sh
#
## Show which commits have not been pushed to the tracking branch and are safe to amend/rebase.
## Source: git-extra-commands

# Show the diff of everything you haven't pushed yet.

branch=$(git rev-parse --abbrev-ref HEAD)
exec git diff "origin/$branch..HEAD"
