wzc-generator-nestjs

1.0.25 • Public • Published

Git global setup

# 设置
$ git config --global user.name "zhanchao.wu"
$ git config --global user.email "zhanchao.wu@icloud.com"
  • Create a new repository
# 新项目
$ git clone git@gitlab.cyberstone.com.cn: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 git@gitlab.cyberstone.com.cn: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 git@gitlab.cyberstone.com.cn: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"
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i wzc-generator-nestjs

Weekly Downloads

1

Version

1.0.25

License

ISC

Unpacked Size

267 kB

Total Files

69

Last publish

Collaborators

  • zhanchao.wu