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?
$ 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
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