首页 > 其他 > 详细

[git] fatal: This operation must be run in a work tree

时间:2015-03-12 19:15:38      阅读:12941      评论:0      收藏:0      [点我收藏+]

        在使用git  init --bare 进行建立裸仓库之后,在使用git 其它的命令都会出现fatal:This operation must be run in a work tree 问题,处理方法:

        先touch readme 因为在创建裸仓库时,没有生成readme 文件,出现不能提交的情况。之后就可以使用git init,git add readme

 git commit等命令了。

[git] fatal: This operation must be run in a work tree

原文:http://blog.csdn.net/huanghaiyan_123/article/details/44225157

(5)
(2)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!