DOKK / manpages / debian 10 / stgit / stg-clean.1.en
STG-CLEAN(1) StGit Manual STG-CLEAN(1)

stg-clean - Delete the empty patches in the series

stg clean

Delete the empty patches in the whole series or only those applied or unapplied. A patch is considered empty if the two commit objects representing its boundaries refer to the same tree object.

-a, --applied

Delete the empty applied patches.

-u, --unapplied

Delete the empty unapplied patches.

Part of the StGit suite - see stg(1)

09/02/2017 StGit