Meaning of “commit” - Learner’s Dictionary

commit

verb [ T ] us uk /kəˈmɪt/ present participle committing, past tense and past participle committed
to commit murderto commit a robberyto commit a felonyIt's thought that he didn't in fact commit the crime.Soldiers who commit these atrocities must answer for their actions.
CRIME

B2 to do something that is considered wrong, or that is illegal:

He was sent to prison for a crime / that he didn't commit.
to commit suicide/adultery
DECISION

to make a firm decision that you will do something:

He committed himself to helping others.
not commit yourself

to refuse to express an opinion about a particular subject

MONEY/TIME

If you commit money, time, energy, etc to something, you use it to try to achieve something:

The government has committed / thousands of pounds to the research.

(Definition of “commit” from the Cambridge Learner’s Dictionary © Cambridge University Press)