With an ordinance passed on Tuesday, San Diego became the largest American city to make a legally binding commitment to transition to 100 percent renewable energy.