He told me not to argue but just agree.
I think the sentence above is grammatically correct, but I'm not sure.
In fact, I have a hard time choosing between the following sentences:
He told me not to argue and just agree.
He told me not to argue but to just agree.
He told me not to argue and to just agree.
I seem completely lost and have been playing the guessing game. Someone help me?