How to use git to add comments to each file pushed to github?
为情所困
为情所困 2017-05-02 09:47:52
0
2
910

git commit -m"XXXX" In this way, every file in the folder has the same comments. What is a better way to add comments to each separate file?

为情所困
为情所困

reply all(2)
習慣沉默
$ git add text/text1.txt
$ git commit -m "text1"
$ git add text/text2.txt
$ git commit -m "text2"
$ git push origin master

Single add and separate commit testing are feasible. Other methods are unclear. But the message in the external folder will be the message submitted by the last commit.

習慣沉默

You can only submit it independently and add comments

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template