-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[ENH][DOC] add instructions to existing users how to migrate their locar repos to main branch #1587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm thinking something on this page: https://pvlib-python.readthedocs.io/en/stable/contributing.html |
This. The only people that will be effected are those that can deal with it with reasonable effort. No need to reinvent GH docs. |
@wholmgren then I suggest just go ahead and do it now. I'll post something on google groups linking to the discussion or the GH help docs |
FYI: @pvlib/pvlib-core - I can't make the change, I can't see the settings tab in pvlib |
@mikofski simply rename |
I believe we can follow the steps here: https://github.com/github/renaming#renaming-existing-branches and here: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/renaming-a-branch then users do what it says here: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/renaming-a-branch#updating-a-local-clone-after-a-branch-name-changes $ git branch -m OLD-BRANCH-NAME NEW-BRANCH-NAME
$ git fetch origin
$ git branch -u origin/NEW-BRANCH-NAME NEW-BRANCH-NAME
$ git remote set-head origin -a
$ git remote prune origin |
OK, it's done. All contributors please update your local environments following GH instructions. |
note replace with "main" so: git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
git remote prune origin |
Probably most people will have Edit: I think @mikofski beat me by a µs |
Is your feature request related to a problem? Please describe.
see #1584 - we plan to change the name of master branch to main, if we do, links on GH are updated, but users will have to follow directions to update their local repos
Describe the solution you'd like
Add a temporary section to the docs? announce on google groups
Describe alternatives you've considered
do nothing, just announce on g-group, point users to GH docs
Additional context
IMHO, I have dragged my feet too long on this, just need to do it asap. It will be confusing for a few days, then done
The text was updated successfully, but these errors were encountered: