用git怎样给push到github的每个文件添加备注?
为情所困
为情所困 2017-05-02 09:47:52
0
2
879

git commit -m"XXXX"这样文件夹里面每个文件都是一样的备注,怎样有比较好的方法给每个单独的文件添加备注?

为情所困
为情所困

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!