git log --pretty=oneline tagA...tagB
If you just wanted commits reachable from tagB but not tagA:
git log --pretty=oneline tagA..tagB
or
git log --pretty=oneline ^tagA tagB