This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Default branch name of new git repositories is master
, despite init.defaultbranch settings
#2755
Open
1 task done
Prerequisites
Description
When creating a new git repository via the built in Atom GUI, the default branch name is
master
, even though my default git branch name (init.defaultbranch
) ismain
when invoking git from a terminal.Steps to Reproduce
Create repository
buttonCreate detached commit
buttonExpected behavior:
The branch created should be named to match either
init.defaultbranch
from the user'sgitconfig
, or tomain
(to match the default behaviour for new github repositories).Actual behavior:
The default branch is named
master
Reproduces how often:
100%
Versions
Windows 10
Additional Information
My Stack Overflow post on this topic: issue was reproduced on Ubuntu by other user
The text was updated successfully, but these errors were encountered: