Tim Lincecum allowed two hits in seven scoreless innings and Jeff Keppinger provided a first-inning solo home run to lead the San Francisco Giants past the Florida Marlins 3-0 on Saturday night.