-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
How to create a new repository
fengmk2 edited this page Oct 29, 2022
·
2 revisions
- visit https://github.com/new
- change owner to
eggjs - repository name should start with
egg-
npm i -D egg-ci- invert select
Wikis - invert select
Issues, only recommend to discuss at https://github.com/eggjs/egg/issues - invert select
Project - invert select
Allow merge commits

- protect
masterbranchRequire pull request reviews before merging-
Require status checks to pass before mergingwithcontinuous-integration/travis-ci


$ egg-init --type=plugin egg-XXX
$ cd egg-xxx && git init
$ git remote add origin git@github.com:eggjs/egg-XXX.gitThen only add LICENSE at first commit at master
$ git add LICENSE
$ git commit -m 'feat: init project'
$ git pushThen enjoy your first implementation at new branch
$ git checkout -b first
$ # do something
$ git add .
$ git commit -m 'feat: first implementation'
$ git pushNote:
- Don't forgot to edit
package.jsonwith repository url.