Skip to content

Commit e3c60cc

Browse files
authored
defaultBranchName of 'main' for empty repo
fixes atom#2755
1 parent 5e72f80 commit e3c60cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/views/create-dialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export async function publishRepository(
4646
if (repository.isEmpty()) {
4747
wasEmpty = true;
4848
await repository.init();
49-
defaultBranchName = 'master';
49+
defaultBranchName = 'main';
5050
} else {
5151
wasEmpty = false;
5252
const branchSet = await repository.getBranches();

0 commit comments

Comments
 (0)