Question: do you use a comma before but?
Answer: You should put a comma before but only when but is connecting two independent clauses. ... That means they're independent clauses, so you need to use a comma before but. When you don't have two independent clauses, leave the comma out. I would go for a walk, but for the rain.