[llvm-dev] [cfe-dev] Renaming The Default Branch

Paul C. Anagnostopoulos via llvm-dev llvm-dev at lists.llvm.org
Thu Dec 3 05:18:26 PST 2020


I presume it's fine to first rename my local 'master' to 'main' and then do the --set=upstream-to?

At 12/2/2020 09:01 PM, Hubert Tong wrote:
>On Wed, Dec 2, 2020 at 8:31 PM Paul C. Anagnostopoulos via llvm-dev <<mailto:llvm-dev at lists.llvm.org>llvm-dev at lists.llvm.org> wrote:
>Could you include instructions for us not-so-git-savvy folks that explain what we have to do locally? I know I have to rename my master branch.
>
>Technically, you don't have to rename your local branch; just run
>git --set-upstream-to=origin/main master
>Â 
>Do I have to do anything else? 



More information about the llvm-dev mailing list