stg-clean - Delete empty patches from the series
stg clean [OPTIONS]
Delete the empty patches from the entire series by default, or only empty patches from the applied or unapplied patches. A patch is considered empty if its tree is the same as its parent.
Delete empty applied patches
Delete empty unapplied patches
Part of the StGit suite - see stg(1)