1.0.2 • Published 6 years ago

npm-egit v1.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

npm-egit

解决 git clone 非空文件夹问题

github仓库

https://github.com/chenzejiang/npm-egit

npm包地址

https://www.npmjs.com/package/npm-egit

安装

mac: sudo npm install npm-egit -g
win: npm install npm-egit -g

egit -v // 1.0.2

使用

egit clone https://github.com/chenzejiang/test.git

流程

  • 1、 在项目根路径执行 git clone {{ address }} egit clone 地址到 egit 文件夹(新建)
  • 2、 移动 egit 的 .git 到 项目根文件
  • 3、 删除新建的 egit文件夹
  • 4、 使用git命令 (git reset --hard HEAD) 回退版本信息
1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago