It adds a lot. Cows produce a lot of methane which is more destructive than CO2 (though lasts shorter). Also, in transportation, the main contributor is the last mile so "local" produce doesn't necessarily have less contributions per transported unit.