码迷,mamicode.com
首页 > 其他好文 > 详细

git init 和 git init --bare 的区别

时间:2015-09-19 18:04:39      阅读:252      评论:0      收藏:0      [点我收藏+]

标签:

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

 

概念 

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

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

好处

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

     

git init 和 git init --bare 的区别

标签:

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!