wzc-generator-nestjs
v1.0.25
Published
代码生成器
Downloads
46
Readme
Git global setup
# 设置
$ git config --global user.name "zhanchao.wu"
$ git config --global user.email "[email protected]"
- Create a new repository
# 新项目
$ git clone [email protected]:midway-base/yongding-river.git
$ cd yongding-river
$ touch README.md
$ git add README.md
$ git commit -m "add README"
$ git push -u origin master
- Push an existing folder
# 存在项目
$ cd existing_folder
$ git init
$ git remote add origin [email protected]:midway-base/yongding-river.git
$ git add .
$ git commit -m "Initial commit"
$ git push -u origin master
Push an existing Git repository
# 替换git
$ cd existing_repo
$ git remote rename origin old-origin
$ git remote add origin [email protected]:midway-base/yongding-river.git
$ git push -u origin --all
$ git push -u origin --tags
注意
- publish 之前 tsc
使用
- code
{
"scripts":{
"code": "node ./node_modules/wzc-generator-nestjs/dist/index.js"
}
}