finalize commits