It only took us a few days to put together our diet with a fussy baby. Laura has been hitting the broccoli and prunes hard, and then we read this. Thing settled down a bit with Ivy in a day or so.
From a babycenter article:
Occasionally a baby will be fussy at the breast or gassy after you eat a
particular food. If you notice a pattern, avoid that food for a few
days. To test whether that food really was the cause, reintroduce it
once and see if there's an effect. Mothers report that babies most often
object to chocolate; spices (cinnamon, garlic, curry, chili pepper);
citrus fruits and their juices, like oranges, lemons, limes, and
grapefruit; strawberries; kiwifruit; pineapple; the gassy veggies
(onion, cabbage, garlic, cauliflower, broccoli, cucumbers, and peppers);
and fruits with a laxative effect, such as cherries and prunes.