1

I am using git for 1st time. I had created a branch on git, after creating branch I had not work on that branch, I did work in master. now I want that changes in my branch also so how can I pull these changes in my branch.

I am using source tree.

rmaddy
  • 298,130
  • 40
  • 468
  • 517
Bhupesh
  • 2,288
  • 12
  • 31

1 Answers1

1

In SourceTree you can easily merge these changes into "your branch":

  1. Make sure to checkout master, e.g. by double-clicking on it in the "BRANCHES" section on the left-hand side.
  2. Select the commit of your branch and press the Merge button in the icon bar. You will be asked if you want to merge that branch into the current branch (which is master).

After doing so your branch should be on the same commit like master.

Falko
  • 15,326
  • 12
  • 50
  • 91