Git add all subdirectories

前端 未结 7 1293
迷失自我
迷失自我 2020-12-23 10:59

I\'m having trouble adding a folder and all of it\'s subdirectories to my git repository. I realized this is a very popular question after doing some googling and I\'ve trie

7条回答
  •  一个人的身影
    2020-12-23 11:21

    I can't say for sure if this is the case, but what appeared to be a problem for me was having .gitignore files in some of the subdirectories. Again, I can't guarantee this, but everything worked after these were deleted.

提交回复
热议问题