Development Tools Introduction to Git First Commits First Commits

Bartłomiej Wilczyński
Bartłomiej Wilczyński
4,806 Points

What should I type in to get a nano? When I use "git commit" nothing happens

What should I type in to get a nano? When I use "git commit" nothing happens

1 Answer

adrian miranda
adrian miranda
12,318 Points

Do you get any message at all? If you don't have anything to commit, you won't get an editor, but you should still get a message saying that you have nothing to commit.

Of course, if you use the -m option to specify your commit message, then it won't fire up an editor.