git init 和 git init --bare 的区别

http://blog.csdn.net/ljchlx/article/details/21805231

概念 

      裸仓储 :不可以在上面做git操作    the operation must be run in work tree 

      工作仓储:可以在上面做git操作,比如分支,提交等

好处

      远程仓储在操作的时候会影响别的本地仓储推送

     

原文地址:https://www.cnblogs.com/qiao-xi/p/4821783.html