git怎么将已有的目录变成仓库?
phpcn_u251
phpcn_u251 2017-02-21 13:53:41
0
2
908

在server端有个A文件夹,里面很多文件,想将其变成仓库(即包含个.git),但在B.git文件夹下输入了git --bare init,怎么将A作为B的仓库??

phpcn_u251
phpcn_u251

reply all(2)
数据分析师

How does git turn an existing directory into a warehouse? - PHP Chinese website Q&A - How does git turn an existing directory into a warehouse? - PHP Chinese website Q&A

Take a look around and learn.

阿神

先将A文件夹里的文件都移出,初始化成仓库后再移入

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template