Im sure you know this but i will share how i do transfers.
fill keg with starsan, push starsan out with Co2, repurge my transfer lines with Co2.
swap bung with my transfer bung and open spigot. The Co2 pushes back into carboy from the keg.
if your using a carboy should work the same just leave a...