I noticed that when running make update in my Blender source code folder it doesn’t update the master branch to the latest commit.
As of writing the master branch on Commits · blender/blender · GitHub is at d4c085c committed on Jan 8, 2023 while the master branch in my repository after running make update is at 5a761a4 committed on Dec 18, 2022.
By using git pull on the master branch I was able to update it to the latest commit. This makes me wonder are there any advantages of using make update or git pull?
And how do I get make update to update everything to the latest commit?
“It doesn’t work” isn’t really something we can help troubleshoot.
What is the full output when you run make update are there errors? is it complaining about something?
the benefits of make update over git pull is that make update also updates the submodules, svn libraries and may switch svn branches if needed, while git pull only gets you the latest code in the blender repository.
"What is the full output when you run make update are there errors? is it complaining about something?"
Actually yes, I ran make update again and here is the log: Log.txt (2.7 KB)
In the last line it states "Blender repository skipped: no remote branch to pull from"
Please note that I already used git pull on the master branch so it is up to date right now but make update wouldn’t update it the last time I ran it.
So basically to fully update my Blender repository I first have to run make update followed by a git pull on the master branch?
"followed by a git merge origin/master and resolve any merge conflicts it may have."
Doesn’t git pull automatically merge my local master branch with origin/master? Or do you mean something different by that?
it does not catch up master with origin/master when you are on a local branch, it tells you about this when you switch back to master using git checkout master from your local branch, you’ll get a message along the lines of This branch is n commits behind origin/master, use git pull to catch up