transform the other object?

How exactly would I write a collision script with transform commands if I wanted the OTHER object to be affected, not the object the script is attached to?

function OnControllerColliderHit (hit : ControllerColliderHit) {
if (hit.gameObject.name == "door")

transform.position += Vector3(0,2,0);
}

So right now it is affecting the object the script is attached to, how would I make it so the script affects the object it is colliding with?

hit.transform.position += Vector3(0,2,0)