commit directory tree