Can't exit Git commit in Windows -
from powershell i've called git commit
, presents me with
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
Post a Comment