Clean the directory commit.