Skip to content

[Notes] How to Update

Genbu Hase edited this page Oct 8, 2018 · 2 revisions

モジュールブランチの場合

  1. 現バージョンのブランチを継承して新しくブランチを生やす

    # Example
    git checkout -b feature/[email protected] feature/[email protected]
  2. 更新したいバージョンのタグをrebaseする

    # Example
    git rebase -i v2.5.1
  3. 強制プッシュする

    # Example
    git push -f

メインブランチ(Itabashi-don)の場合

  1. 更新したいバージョンでresetする

    # Example
    git reset --hard v2.5.1
  2. 各モジュールを取り込む

    # Example
    git rebase feature/[email protected]
  3. 強制プッシュする

    # Example
    git push -f