Skip to content

Commit

Permalink
chore: Rename the initial git branch to 'main'. (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
cullylarson authored Sep 23, 2022
1 parent 3606612 commit a267d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-bison-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = async ({ name, ...answers }) => {
{
title: "Git init",
task: async () => {
const gitOptions = { dir: targetFolder, fs };
const gitOptions = { dir: targetFolder, fs, defaultBranch: "main" };
await git.init(gitOptions);

const paths = await globby(
Expand Down

0 comments on commit a267d45

Please sign in to comment.