Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Github Desktop, I have a branch; How do I get LATEST code from MASTER?

Tags:

git

github

In the web view, I see my branch. The view shows a link where I am 9 commits behind master. I assume that means 9 changes have been committed to master since I obtained my branch.

So now I am ready to start coding, using my branch. BUT, I want to make sure I have the latest code, ie I want all latest commits that have been made to master. In SVN I would simply do an "SVN UPDATE". EASY!

How do I do this using Github Desktop? I've pressed the "SYNC" icon a few times. The result is NOTHING, ie, I still see that I am 9 commits behind. In my local file system I don't see any of the files related to the 9 previous commits.

like image 917
supercommando440 Avatar asked Sep 11 '25 19:09

supercommando440


1 Answers

2020 Update:

  1. Top-menu: click on Branch
  2. Select Update from master ( Ctrl+Shift+U)

Github Desktop - Update from master

like image 107
Prid Avatar answered Sep 14 '25 11:09

Prid