Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-245

rename 'master' to 'main'

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • No version
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Not Needed
    • Iteration Athens, Iteration Barcelona

      • rename branch locally with
      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
       
      git branch -m master main
      git push origin :master
      git push --set-upstream origin main
      

      If people have local git configs they want to adjust:
      in git/template/HEAD file add:

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      ref: refs/heads/default
      

      and for your local .gitconfig you can run:

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      git config --global init.templateDir $basedir/git/template
      

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            irina.shestak@mongodb.com Irina Shestak (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: