committing the files on cloning