[git] fatal: This operation must be run in a work tree
来源:互联网 发布:电脑免费恢复数据软件 编辑:程序博客网 时间:2024/06/12 01:07
在使用git init --bare 进行建立裸仓库之后,在使用git 其它的命令都会出现fatal:This operation must be run in a work tree 问题,处理方法:
先touch readme 因为在创建裸仓库时,没有生成readme 文件,出现不能提交的情况。之后就可以使用git init,git add readme
git commit等命令了。
0 0
- 【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] fatal: This operation must be run in a work tree
- Fatal Error[e72]: Segment INTRAMEND_REMAP must be defined in a segment definition option (-Z, -b or
- Fatal Error[e72]: Segment ZIGNV_ADDRESS_SPACE must be defined in a segment definition option (-Z, -b
- 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
- Fatal Error[e72]: Segment BANKED_CODE must be defined in a segment definition option (-Z, -b or -P)
- CC2530编译出现 Fatal Error[e72]: Segment BANKED_CODE must be defined in a segment definition option (-Z,
- Fatal Error[e72]: Segment FIQ_STACK must be defined in a segment definition option (-Z, -b or -P)
- ZigBee IAR编译问题 Fatal Error[e72]: Segment BANKED_CODE must be defined in a segment definition option
- A Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Ecl
- A Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Ecl
- a java runtime environment jre or java development kit jdk must be available in order to run eclipse
- A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Ecl
- A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run STS
- A Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Ecl
- Java中的ReentrantLock和synchronized两种锁定机制的对比
- WebRequest 调用方法
- 安装安全桌面后VS2010不能用,总报错“由于一个软件限制策略的阻止”解决办法
- find 命令查找文件
- Linux使用总结
- [git] fatal: This operation must be run in a work tree
- POJ 3259 Wormholes(判负权回路)
- Gabor函数
- 每日一得--对称加密算法之(AES)
- 再论性能优化
- 每日一得--对称加密算法之(DES)
- Android内存优化
- Quartz任务调度快速入门
- 用Gradle 构建你的android程序