From 884a11da872b2777817049c1ea8544f982856d83 Mon Sep 17 00:00:00 2001 From: Wes <5124946+wesinator@users.noreply.github.com> Date: Thu, 23 Feb 2023 08:40:50 -0500 Subject: [PATCH] switch defaultBranchName to `main` on new repo --- lib/views/create-dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/views/create-dialog.js b/lib/views/create-dialog.js index 59c005710b..98febd6860 100644 --- a/lib/views/create-dialog.js +++ b/lib/views/create-dialog.js @@ -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();