Committing the directory