git and empty folders

前端 未结 8 799
感情败类
感情败类 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:12

    I usually put a .gitignore in those directories as you likely want to ignore any runtime generated data anyway.

提交回复
热议问题