Upgrade warnings: Skillnad mellan sidversioner

Från MoodleDocs
Hoppa till:navigering, sök
m (Redirecting to Moodle versions)
 
m (→‎top: clean up, typos fixed: etc) → etc.))
 
(15 mellanliggande sidversioner av 5 användare visas inte)
Rad 1: Rad 1:
#REDIRECT [[Moodle versions]]
{{Installing Moodle}}
If you reached this page from a warning during an upgrade from a stable version then it's probable that some of our branch changes have affected you.
 
If you intend to stay with the most recent stable version of Moodle, then you need to switch your checkout over to use the appropriate MOODLE_3x_STABLE branch (such as MOODLE_32_STABLE, MOODLE_33_STABLE, etc.).
 
If you are using Git, then you must create new local branch that will track the remote stable branch and switch to it.
 
    git checkout -b MOODLE_{{Version2}}_STABLE origin/MOODLE_{{Version2}}_STABLE
    git pull
 
Replace {{Version2}} with the relevant Moodle version. At the first line, the new local branch MOODLE_{{Version2}}_STABLE is created and set to track the remote branch of the same name. At the second line, the git-pull command fetches recent changes from the upstream and merges them into your local branch. To update your Moodle next week, you can run just this second line.
 
For more about how Moodle versions are managed in Git, see our [[dev:Moodle versions]] page.
 
==See also==
 
* [[Git for Administrators]]
 
[[es:Advertencias al actualizar]]
[[fr:Notifications de mise à jour]]

Nuvarande version från 19 maj 2022 kl. 15.52

If you reached this page from a warning during an upgrade from a stable version then it's probable that some of our branch changes have affected you.

If you intend to stay with the most recent stable version of Moodle, then you need to switch your checkout over to use the appropriate MOODLE_3x_STABLE branch (such as MOODLE_32_STABLE, MOODLE_33_STABLE, etc.).

If you are using Git, then you must create new local branch that will track the remote stable branch and switch to it.

   git checkout -b MOODLE_400_STABLE origin/MOODLE_400_STABLE
   git pull

Replace 400 with the relevant Moodle version. At the first line, the new local branch MOODLE_400_STABLE is created and set to track the remote branch of the same name. At the second line, the git-pull command fetches recent changes from the upstream and merges them into your local branch. To update your Moodle next week, you can run just this second line.

For more about how Moodle versions are managed in Git, see our dev:Moodle versions page.

See also