git submodule checks out the same commit

前端 未结 4 1968
一整个雨季
一整个雨季 2021-01-15 05:34

After I git submodule update it always checks out the same commit. for example 34561.

I do git checkout master for submodule a

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-15 05:57

    You can execute:

    git submodule foreach git pull origin master
    

    This will update all your submodules.

提交回复
热议问题