-
-
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
master
branchRequire pull request reviews before merging
-
Require status checks to pass before merging
withcontinuous-integration/travis-ci
$ egg-init --type=plugin egg-XXX
$ cd egg-xxx && git init
$ git remote add origin git@github.com:eggjs/egg-XXX.git
Then only add LICENSE at first commit at master
$ git add LICENSE
$ git commit -m 'feat: init project'
$ git push
Then enjoy your first implementation at new branch
$ git checkout -b first
$ # do something
$ git add .
$ git commit -m 'feat: first implementation'
$ git push
Note:
- Don't forgot to edit
package.json
with repository url.