Git commit opens blank text file, for what?

前端 未结 17 958
长情又很酷
长情又很酷 2020-12-22 18:33

In all the Git tutorials I\'ve read they say that you can do:

git init
git add .
git commit

When I do that I get a big text file opened up.

17条回答
  •  借酒劲吻你
    2020-12-22 19:13

    The following is probably the easiest way to commit all changes:

    git commit -a -m "Type your commit message here..."
    

    Of course there are much more detailed ways of committing, but that should get you started.

提交回复
热议问题