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

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

为情所困
为情所困

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

单独add 单独commit测试可行。其他方法不清楚。但是外部文件夹的message会是最后一次commit提交的message。

習慣沉默

只能独立提交, 并加上注释了

Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!