git and empty folders

前端 未结 8 810
感情败类
感情败类 2020-12-05 13:19

So I see Git doesn\'t recognize folders, or should I say when the only change between commits is addition of empty folders to the working tree they\'re not show in git

8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-05 14:07

    Either put empty placeholder files into the folders you want git to keep track of or add instructions to create these folders to your build system if possible.

提交回复
热议问题