本地git仓库


 TL;DR
本地搭一个 git 远程仓库:git init --bare 建库,再用 ssh 地址 clone 下来。
难度 中等

创建仓库

mkdir repo.git
git --init bare repo.git

连接仓库

git clone user@localhost:/path/repo.git

文章作者: growdu
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 growdu !
这篇还发到了
今日头条 drafted
  目录