How do I manage conflicts with git submodules?

前端 未结 8 1071
死守一世寂寞
死守一世寂寞 2020-11-30 20:29

I have a git superproject that references several submodules and I am trying to lock down a workflow for the rest of the my project members to work within.

For this

8条回答
  •  Happy的楠姐
    2020-11-30 20:38

    I had this problem with git rebase -i origin/master to a branch. I wanted to take master's version of the submodule ref, so I simply did:

    git reset master path/to/submodule

    and then

    git rebase --continue

    That solved the problem for me.

提交回复
热议问题