atom / github

:octocat: Git and GitHub integration for Atom
https://github.atom.io
MIT License
1.12k stars 394 forks source link

defaultBranchName of 'main' for empty repo #2794

Closed wesinator closed 1 year ago

wesinator commented 1 year ago

Description of the Change

switch defaultBranchName to use main 'main' for an empty / new repo

L54 is kept in for legacy compatibility

This is an incremental fix: ideally it should create the branch name from git config init.defaultBranch

Screenshot or Gif

Applicable Issues

fixes #2755