How will eating "gassy foods" affect baby?
It is common for nursing moms to be warned away from eating the so-called "gassy foods" such as broccoli, cauliflower, cabbage, beans, etc. However, gassy foods have no more potential to affect your baby than other foods.
Eating certain foods may cause gas in mom due to the normal breakdown of some of the undigested carbohydrates (sugar, starches, soluble fiber) by bacteria in the large intestine (see Gas in the digestive tract).
However, breastmilk is made from what passes into mom's blood, not what is in her stomach or digestive track. Neither the gas nor the undigested carbohydrates (whose breakdown can cause gas in mom) pass into mom's blood, so it is impossible for these things to pass into your milk to make your baby gassy.
This is not saying that your baby will not have a sensitivity to a certain food, but a food's potential to affect baby really has nothing to do with whether it makes mom gassy.