extract multiple directories using git-filter-branch

后端 未结 4 1662
隐瞒了意图╮
隐瞒了意图╮ 2020-12-02 07:55

I have a big repository which currently contains multiple projects in top level subfolders, say /a, /b, /c, and /d.

4条回答
  •  死守一世寂寞
    2020-12-02 08:32

    After searching around and trying the proposed solutions, it seems like the recommended way of doing is now with git-filter-repo (see here)

    git filter-repo --path a --path b
    

提交回复
热议问题