Need Help Calculating Transfer GPA

Hey guys, so I’ve taken a couple courses at one CC then retaken that same course at a different CC because of a substandard grade. I checked on csu mentor and the grade forgiveness policy for basically each school is that they will honor the policy of the CC if stated on the official transcript. Now my question is what is the policy on retaken courses at a different CC because on the transcript of the second CC it won’t say course repeated from the previous CC. Will they just count both grades? Im super confused please help me out