git submodule foreach git status
举一反三,对所有子库的操作,都可以使用 git submodule foreach 做前缀
foreach,可以记忆为for each,为每一个。

例如:
git submodule foreach git pull
git submodule foreach git checkout .
git submodule foreach git update
....

相关文章:

  • 2021-11-20
  • 2022-12-23
  • 2021-10-27
  • 2021-09-18
猜你喜欢
  • 2021-09-03
  • 2021-08-07
  • 2022-12-23
  • 2021-12-20
  • 2021-09-02
  • 2021-12-05
相关资源
相似解决方案