Commiting the directory