How to git commit a single file/directory

前端 未结 7 1748
我寻月下人不归
我寻月下人不归 2020-12-04 06:58

Tried the following command:

git commit path/to/my/file.ext -m \'my notes\'

Receive an error in git version 1.5.2.1:

error:         


        
相关标签:
7条回答
  • 2020-12-04 07:27

    Specify path after entered commit message, like:

    git commit -m "commit message" path/to/file.extention
    
    0 讨论(0)
提交回复
热议问题