Kris Bryant hit a go-ahead two-run homer in the eighth inning, and the Cubs rallied to beat the Giants 12-11 on Wednesday night in a wild affair at Wrigley Field.