Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

defaultBranchName of 'main' for empty repo #2794

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/views/create-dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function publishRepository(
if (repository.isEmpty()) {
wasEmpty = true;
await repository.init();
defaultBranchName = 'master';
defaultBranchName = 'main';
} else {
wasEmpty = false;
const branchSet = await repository.getBranches();
Expand Down