You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Suresh Anaparti <Su...@shapeblue.com> on 2021/06/14 12:56:31 UTC

Default branch is 'main' now, for the CloudStack repos

Hi All,

As updated last week, the default branches for the CloudStack repos has been renamed to 'main' (from 'master'). Please check the process outlined below, to update your repos.

- To update the default branch to 'main' in your local repos cloned from apache/cloudstack (or other cloudstack repos), run the below cmds in sequence:

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

- To update the forked repos from apache/cloudstack (or other cloudstack repos), rename the default branch using the GitHub tool mentioned here: https://github.com/github/renaming#rename-existing (which also re-targets the open/draft PRs, Note: The PRs will be closed if the source repo/branch doesn't exist) and then run the above cmds to update your local repos cloned from that repo.

- To fork the CloudStack source code and setup new local repo, rebase or create pull requests, follow the steps mentioned here: https://cloudstack.apache.org/developers.html. 


Regards,
Suresh