I assume glycine does the same thing in the transfer buffer: push the protein forward onto the membrane through (assuming again) repulsive force. This explanation isn’t very satisfying though because the pH under transfer conditions is similar to that in the resolving gel itself – wouldn’t glycine ions just whiz by like in the stacking gel? Maybe it is just used along with Tris for buffering.