Gassy 3 week old, help

What can i do to help her with her gas? I think she’s confusing it for hunger. She’s 3 weeks old and has been up for 5 hours nursing non stop, burping and crying😩😩 I read that gripe water is for babies one month or older.

I’ve tried rubbing her belly and bicycling her legs but nothing seems to help