Why does your breastfeed baby have colic
I feel fortunate not to have dealt with colic but have read dairy intolerance can cause colic in breastfed babies. The solution is to eliminate or reduce the amount of dairy you consume until you see a difference in your baby.
Eliminate gassy foods in general from your diet can help with a gassy baby. Some believe colic is caused by a sensitive digestive system.
Some recommend wearing your baby in a sling will help calm a colicky baby. I will attest that keeping my babies close kept them calm and happy.
Others use Gripe Water. I have no experience with that though.