Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

git change default branch name

AhmedHassan answered on March 24, 2023 Popularity 9/10 Helpfulness 10/10

Contents


More Related Answers

  • set the default branch to main
  • git change branch name
  • git rename branch
  • git create new default branch
  • change branch name git local
  • change git default branch
  • Change a branch name in a Git repo
  • rename branch git
  • change default branch github
  • how to change branch name in github
  • edit branch name git
  • change local branch name
  • change branch name
  • change branch name
  • change branch name
  • change current branch name
  • git rename branch
  • change default branch github
  • git rename local branch
  • rename branch locally git
  • How do I rename a local Git branch?
  • git rename branch from local
  • rename branch in git
  • change name of branch github
  • change branch name git
  • Change default branch on git
  • change default branch of repo github desktop

  • git change default branch name

    2

    git config --global init.defaultBranch main 

    Popularity 9/10 Helpfulness 10/10 Language shell
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Mar 24 2023
    AhmedHassan
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    1

    Change the branch name inside GitHub Web first, then: 

    before: master

    after: main

    Popularity 9/10 Helpfulness 6/10 Language shell
    Source: Grepper
    Tags: branch br
    Link to this answer
    Share Copy Link
    Contributed on Apr 19 2023
    VivaLaBagget
    0 Answers  Avg Quality 2/10

    1
    Popularity 7/10 Helpfulness 5/10 Language shell
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Mar 23 2024
    </ProgAli>
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.