Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.22 KB

README.md

File metadata and controls

36 lines (23 loc) · 1.22 KB

git-template

npm

npm

git-template 是让你能从一个github仓库(目前只支持github)做作为模板,创建新项目的工具。

git-template is a tool for you to create a new project use a github(only support github in this version) repository as template.

Install && Useage

$ npm install git-template -g
$ git-template [username/reponame] [new projct name] [branch name](optional,default 'master')

Example

$ git-template tommyZZM/new helloworld react-es6

this example will download the tommyZZM/new of react-es6 branch on github and use its file to create a new project(folder inculd repo file) name helloworld.

这个例子表示下载在Github上的tommyZZM/new的react-es6分支,并以下载文件为基础,创建一个命名为helloworld的项目目录。