I skipped the stash part since I didn't have local changes and everything
else worked perfectly.

Thanks for taking care of this Francis!

Best,
Stamatis

On Thu, Apr 21, 2022 at 5:10 AM Julian Hyde <[email protected]> wrote:

> Thanks, Francis. I followed those steps and they worked for me.
>
> On Wed, Apr 20, 2022 at 7:17 PM Francis Chuang <[email protected]>
> wrote:
> >
> > Hey everyone,
> >
> > The default branch for the calcite-avatica-go repository has been
> > renamed from master to main.
> >
> > For your local checked out copies of the repository, please do the
> > following to migrate:
> > 1. Ensure you are in the repository's folder in your command line.
> > 2. Stash any uncommitted changes: git stash
> > 3. Check out your local master branch: git checkout master
> > 4. Rename your local master branch to main: git branch -m master main
> > 5. Fetch latest commits and branches from remote: git fetch
> > 6. Remove the tracking branch: git branch --unset-upstream
> > 7. Create a new tracking branch (assuming the remote is called origin):
> > git branch -u origin/main
> > 8. Restore your uncommitted changes: git stash pop
> >
> > Francis
>

Reply via email to