Git, sub-repos & external libs for web development - best strategy once and for all?

前端 未结 2 632
北荒
北荒 2021-02-02 14:54

This is such a common scenario that there must be a sensible solution, yet despite pages of reading and copious Git gymnastics, my brain aches and I\'m unable to make this work.

2条回答
  •  滥情空心
    2021-02-02 14:55

    Clearly you've been thinking about this, and I am only a novice at git, but my first instinct would be to add .gitignore to the plugins directory and have each plugin have it's own git repo. You could do the same for themes. So I guess this is more of a question than an answer - why wouldn't this simple approach work?

提交回复
热议问题