How to commit a change in git when git commit opens Nano?

That screen is just a text editor and those options at the bottom, represent commands, tipically its the ctrl key + the letter for the command.

To make the commit you should write your commit message, then press ctrl+o to write your message, and then ctrl+x to exit that screen.

To avoid that screen you could do something like git commit -m 'your commit message', the -m indicates that your commit message goes in the command.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)