在server端有个A文件夹,里面很多文件,想将其变成仓库(即包含个.git),但在B.git文件夹下输入了git --bare init,怎么将A作为B的仓库??
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文件夹里的文件都移出,初始化成仓库后再移入
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文件夹里的文件都移出,初始化成仓库后再移入