commit the required files