In the next few days, there will be a few changes to the public MAX and Mojo repos:
- The nightly branch will be renamed to main. In other words, the main branch will receive the most frequent updates.
- The stable branch will reflect the most recent stable release. For example, right now the most recent stable release is 24.6.
- Each stable release will receive a tag in GitHub.
- All open pull requests will be updated to the appropriate branch by the Modular team shortly after the switch is made.
If you’re developing locally on the current nightly branch and want to use the new main branch (which will receive nightly updates), you’ll need to do the following once this change has been made:
git branch -D main # Remove a current checkout
git fetch --all # Get the latest updates from the repo
git checkout main # Switch to the new main
If you’re developing locally on the current main branch and want to use the new stable branch (which will receive stable updates for major releases), you’ll need to do the following once this change has been made:
git branch -D main # Remove a current checkout
git fetch --all # Get the latest updates from the repo
git checkout stable # Switch to the new stable
We’ll post another update once these changes have been implemented. Please reach out with any questions or concerns.