What does git add --intent-to-add or -N do and when should it be used?

后端 未结 4 1133
再見小時候
再見小時候 2021-01-01 10:58

On git add -h I can see the following option:

-N, --intent-to-add   record only the fact that the path will be added later

But

4条回答
  •  遥遥无期
    2021-01-01 11:11

    It is mainly used to add an empty file for your commits.

    More informations at Git with intent to add!.

提交回复
热议问题