Can't exit Git commit in Windows -


from powershell i've called git commit , presents me with

enter image description here

i typed commit message (in yellow) have no idea next. pressing enter adds newline input. how complete commit? i've been through several tutorials none of them explained next step.

edit: found can press : make cursor jump bottom line, type wq complete commit. this? correct? there alternatives?

after typing message, press escape exit insert mode , type :wq (write/save , quit, or :q! if want cancel , return prompt). alternatively, can commit in 1 step typing git commit -m "message"


Comments

Popular posts from this blog

c# - Class in a list -

mysql - Django database model for my website -

ios - How to run a segue on itself OR another viewController -