LuxuryMode
LuxuryMode

Reputation: 33741

proceeding with actual commit?

I'm in VIM, adding my commit message. Once I'm satisfied with my message, how do I proceed with the actual commit?

Upvotes: 2

Views: 79

Answers (2)

RusAlex
RusAlex

Reputation: 8575

Just exit from VIM.

type: ZZ in normal mode

Upvotes: 2

Cameron Skinner
Cameron Skinner

Reputation: 54326

Save and quit VIM and it should all work like magic. You can also use git commit -m "Message" to avoid the need to start up your editor.

Upvotes: 2

Related Questions