Merge changes from one branch to another (Git)

If a feature branch is behind master, you can sync that branch, using a merge, into your feature branch.

  1. (On macOS) From the left-side menu, hover your mouse over the right side of the Branches label until you see the word ShowClick Show to expand the list of branches.

  2. Under Branches, double-click the feature branch that is behind to switch to that branch.
  3. マージ ボタンをクリックします。
  4. From the popup that appears, select the commit you want to merge into your feature branch.
  5. Check the Create a commit even if merge resolved via fast-forward option at the bottom.
  6. Click OK.
    Your feature branch now has the same commits as your master branch.
最終更新日 2018 年 4 月 30 日



Powered by Confluence and Scroll Viewport.