Clean and wash the tomatoes. Dab them dry thoroughly. Peel onions and garlic. Cut onions into rings. Place tomatoes, onion rings, garlic and olives on preserving jars so that they are filled up to 2/3 full.
Spread cloves over it. Add oil until the vegetables are completely covered. Close well.