[git] fatal: This operation must be run in a work tree
2015-03-12 18:08
901 查看
在使用git init --bare 进行建立裸仓库之后,在使用git 其它的命令都会出现fatal:This operation must be run in a work tree 问题,处理方法:
先touch readme 因为在创建裸仓库时,没有生成readme 文件,出现不能提交的情况。之后就可以使用git init,git add readme
git commit等命令了。
先touch readme 因为在创建裸仓库时,没有生成readme 文件,出现不能提交的情况。之后就可以使用git init,git add readme
git commit等命令了。
相关文章推荐
- git 错误 fatal: This operation must be run in a work tree
- [git] fatal: This operation must be run in a work tree
- [git] fatal: This operation must be run in a work tree
- Git Bash出现 fatal: This operation must be run in a work tree
- 【git】fatal: This operation must be run in a work tree
- cocos2d 安装出现Error: This script must be run as root in order to copy templates to /Library/Applicatio
- cocos2d安装出现Error: This script must be run as root in order to copy templates to /Library/Application
- A Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Ecl
- Eclipse启动时报错:A Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No java v
- DateTimePicker 控件出现 "You must be in ShowCheckbox mode to set to this date" 的错误
- Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. ......
- 利用数据库链做DML操作时报ORA-02069: global_names parameter must be set to TRUE for this operation
- This is probably a good time to review the order in which SELECT statement clauses are to be specified. Table 10.2 lists all the clauses we have learned thus far, in the order they must be used.
- ORA-02069: global_names parameter must be set to TRUE for this operation
- if 3 years exp coder said he easily found a fatal error in a sdk published by a 10 years exp team, there must be something wrong
- A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Ecl
- Eclipse配置问题:Error :- java runtime environment JRE or java development kit must be available in order to run eclipse
- Fatal Error[e72]: Segment INTRAMEND_REMAP must be defined in a segment definition option (-Z, -b or
- 关于:ORA-02069: global_names parameter must be set to TRUE for this operation
- a java runtime environment jre or java development kit jdk must be available in order to run eclipse