- 博客(1)
- 收藏
- 关注
转载 git克隆项目到一个非空目录
这只是记录: 1. 进入非空目录,假设是 /workdir/proj1 2. git clone --no-checkout https://git.oschina.net/NextApp/platform.git tmp 3. mv tmp/.git . #将 tmp 目录下的 .git 目录移到当前目录 4. rmdir tmp 5. git reset --hard ...
2016-06-10 09:52:00
390
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅