Git add all subdirectories

前端 未结 7 1286
迷失自我
迷失自我 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:23

    Also struggled, but got it right typing

    git add -f ./JS/*

    where JS was my folder name which contain sub folders and files

提交回复
热议问题