Create a metafunction to clean previous commit.