nothing to commit, working tree clean
来源:互联网 发布:unity3d数学基础 编辑:程序博客网 时间:2024/05/16 06:13
一、现象:
今天在git提交的时候有几个文件死活愣是提交不上去。
log如下
Commit failed with error0 files committed, 4 files failed to commit: *****On branch feature/*******Your branch is up-to-date with 'origin/feature/*******'.nothing to commit, working tree clean
意思很简单,没有找到能提交的东西。后来发现这几个文件都是我改了名字的,原来是**DTO,我改成了**Dto。
询问我们组长。
二、原因:
git默认配置为忽略大小写,因此无法正确检测大小写的更改
三、解决方法:
运行git config core.ignorecase false,关闭git忽略大小写配置,即可检测到大小写名称更改
阅读全文
0 0
- nothing to commit, working tree clean
- # Not currently on any branch. nothing to commit (working directory clean)
- the working copy"" failed to commit files.
- The working copy "" failed to commit files
- The working copy “***” failed to commit files.
- the working copy"" failed to commit files. 不能COMMIT
- nothing added to commit but untracked files present
- nothing added to commit but untracked files present解决方法
- The working copy "MyPro" failed to commit files.
- The working copy"XXX" failed to commit files
- the working copy"工程名" failed to commit files.
- The working copy “XXXX” failed to commit files.
- 在git提交环节,存在三大部分:working tree, index file, commit
- git diff:对比working tree、stage、commit文件之间的不同
- svn无法提交问题,The working copy failed to commit files
- xcode提交版本时提示The working copy "MyPro" failed to commit files.解决方法
- nothing to loose?
- [Music]nothing to lose
- 从api理解java/android线程池
- HDU1853 Cyclic Tour
- 最新thinkphp5整合webuploader,可预览拖拽搜索删除
- Android Studio三种方式导入外部资源 以及 报错处理
- Linux 设置程序开机自启动 (命令systemctl 和 chkconfig用法区别比较)
- nothing to commit, working tree clean
- react-native启动报错-Print: Entry, ":CFBundleIdentifier", Does Not Exist
- 构建微服务:Spring Boot 从听说到精通 (二)
- WINDOWS核心编程——进程和作业
- ES6 export,import
- 关于技术成长的渴望
- URLSession证书
- 关于ListView滚动到中间条目的方法
- leetcode题解-143. Reorder List