[Newbie question] git commint -m cannot submit files to the warehouse?
某草草
某草草 2017-05-02 09:46:40
0
5
739

I just learned git and encountered a problem

Admin@SKY MINGW64 /d/WWW/Git (master)
$ ls
readme.txt

git commit -m无法提交,出来一堆提示

git commit readme.txt 出现下面这个,请问是怎么回事呢?

某草草
某草草

reply all(5)
黄舟
git commit -m "修改信息"
伊谢尔伦

Post the git commit -m question. The second one is for you to edit the comments of the submission

phpcn_u1582

When you install TortoiseGit, you don’t need to use the command line to submit. Download tortoiseGit online, right-click the project file to commit, submit the file tortoiseGit=>pull update code and push to submit the file to the server, which is very convenient.

PHPzhong

You need to git add before git commite. Has the author added the file?

为情所困
git add readme.txt
git commit -m "commit"
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template