“Cannot update paths and switch to branch at the same time”

前端 未结 11 1707
广开言路
广开言路 2020-12-02 04:24

I sometimes use the checkout -b option to create a new branch, check it out at the same time and set up tracking in one command.

In a new environment, I

11条回答
  •  执念已碎
    2020-12-02 05:17

    You should go the submodule dir and run git status.

    You may see a lot of files were deleted. You may run

    1. git reset .

    2. git checkout .

    3. git fetch -p

    4. git rm --cached submodules //submoudles is your name

    5. git submoudle add ....

提交回复
热议问题