[
https://issues.apache.org/jira/browse/CALCITE-4147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17525400#comment-17525400
]
Julian Hyde commented on CALCITE-4147:
--------------------------------------
The [email|https://lists.apache.org/thread/g4mfpmj9xln1pn2lqt0y3htcccl8tjd5]
from [~francischuang] had the following instructions:
For your local checked out copies of the repository, please do the following to
migrate:
# Ensure you are in the repository's folder in your command line.
# Stash any uncommitted changes:
** {{git stash}}
# Check out your local {{master}} branch:
** {{git checkout master}}
# Rename your local {{master}} branch to {{main}}:
** {{git branch -m master main}}
# Fetch latest commits and branches from remote:
** {{git fetch}}
# Remove the tracking branch:
** {{git branch --unset-upstream}}
# Create a new tracking branch (assuming the remote is called {{origin}}):
** {{git branch -u origin/main}}
# Restore your uncommitted changes:
** {{git stash pop}}
The instructions worked fine for me.
> Rename "master" branch to "main"
> --------------------------------
>
> Key: CALCITE-4147
> URL: https://issues.apache.org/jira/browse/CALCITE-4147
> Project: Calcite
> Issue Type: Improvement
> Reporter: Michael Mior
> Assignee: Michael Mior
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Settings to change:
> * GIT_COMMIT in [Calcite-Snapshots Jenkins
> pipeline|https://builds.apache.org/view/A-D/view/Calcite/job/Calcite-Snapshots/configure]
> * Rename [Calcite-Master Jenkins
> pipeline|https://builds.apache.org/view/A-D/view/Calcite/job/Calcite-Master/configure]
> * Default branch on GitHub (open INFRA ticket)
--
This message was sent by Atlassian Jira
(v8.20.7#820007)