Thread:Talk:Download from Git/Keeping up to date/reply (2)

Git pull should work just fine. Switching to a different release branch involves a few more commands than just git pull. But if you're using the "master" branch or the "REL1_19" branch and want to update it to the latest version within that branch, a pain "git pull" will work just fine.

Note that very few commits are made to a REL* branch after the first release (only minor releases). To checkout a new branch all you need to do fetch the data, create a new remote-tracking branch and check it out. jdoe:/srv/example/mediawiki (REL1_18)$ git fetch && git branch REL1_19 -t origin/REL1_19 && git checkout REL1_19 jdoe:/srv/example/mediawiki (REL1_19)$

Using git-pull with an absolute url will also work but has side-effects.

Note that this is only needed when doing major upgrades from branch to branch. To update to the latest remote version of the branch you're already on, plain "git pull" will do.