Comments in .gitignore?

后端 未结 2 1821
离开以前
离开以前 2020-12-07 09:47

Can you write comments in a .gitignore file?

If so, should the line be preceded with a # or some other indicator?

2条回答
  •  独厮守ぢ
    2020-12-07 10:18

    Do git help gitignore

    You will get the help page with following line:

    A line starting with # serves as a comment.
    

提交回复
热议问题