Development Tools Introduction to Git First Commits First Commits

Bartłomiej Wilczyński
Bartłomiej Wilczyński
6,269 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

2 Answers

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.

Silvia Ramos
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Silvia Ramos
Front End Web Development Techdegree Graduate 18,306 Points

Hey! have someone resolved this? mine comes up with this message:

treehouse:~/workspace/medals$ git commit
On branch master
nothing to commit, working directory clean