Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I merge current master branch into my branch visual studio/azure devops?

So I have the master branch, and another branch, lets call it 'branch2', that I am working on that is based off of the master branch. There are important changes in the current master branch that were made from someone else that I need to merge into branch2. Just wondering how to do this within visual studio or azure devops.

like image 885
Wesley Brandt Avatar asked Feb 01 '26 16:02

Wesley Brandt


1 Answers

In VS,

  1. open the git pane.
  2. View the branches sub-pane.
  3. Expand the'origin' branch
  4. right click the master branch (under origin)
  5. select merge master branch in origin\branch 2
  6. under local branches right branch 2 pull latest
  7. done
like image 168
Tom McDonald Avatar answered Feb 04 '26 06:02

Tom McDonald



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!