rsnext/packages/create-next-app/helpers
Dinesh Balaji 19febb10c0
feat: update create-next-app to init with main as initial branch (#17745)
When `create-next-app` is initialized a git repo, it now uses 'main' as the initial branch.

The branch master does not actually exist initially. The branches don't get created only when they have at least one commit. Until the branch gets created, the branch only exists in .git/HEAD. So there is no master branch initialized in the repo.

Closes: https://github.com/vercel/next.js/issues/17733

<img width="639" alt="Screenshot 2020-10-09 at 17 26 30" src="https://user-images.githubusercontent.com/4656109/95580229-9f3c6c80-0a54-11eb-967f-180eb9601c1a.png">
2020-11-07 14:46:17 +00:00
..
examples.ts Use HEAD req for isUrlOk check (#14994) 2020-07-09 11:52:49 -04:00
git.ts feat: update create-next-app to init with main as initial branch (#17745) 2020-11-07 14:46:17 +00:00
install.ts Lint for invalid imports (#13482) 2020-05-28 08:23:10 +00:00
is-folder-empty.ts Lint for invalid imports (#13482) 2020-05-28 08:23:10 +00:00
is-online.ts Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
is-writeable.ts CNA: Add warning about permission (#14889) 2020-08-19 17:09:34 +00:00
make-dir.ts CNA: replace make-dir with core recursive mkdir (#15006) 2020-07-10 01:29:03 +00:00
should-use-yarn.ts chore(create-next-app): add missing return types on helpers (#12616) 2020-05-10 12:55:46 +02:00
validate-pkg.ts Lint for invalid imports (#13482) 2020-05-28 08:23:10 +00:00