recherche

Maison  >  Questions et réponses  >  le corps du texte

如何默认让git module里引用的项目默认是最新的

如何设置git module,让引用的项目默认采用最新的提交

因为团队合作老是有人让模块引用回滚到某一次。

迷茫迷茫2845 Il y a quelques jours608

répondre à tous(1)je répondrai

  • 我想大声告诉你

    我想大声告诉你2017-04-27 09:05:04

    git config alias.pullall '!f(){ git pull "$@" && git submodule update --init --recursive; }; f'

    répondre
    0
  • Annulerrépondre