git The following paths are ignored by one of your .gitignore files:
2017-06-19 00:00
1241 查看
今天 搞 git 的时候,将一个文件给忽略了,,然后又想把它给取消忽略,,,并没有提交到 git仓库这时候。。。 就算 取消 提交都没有 把 该文件又 忽略状态变回来 。。可是总的忽略文件并没有把该文件给忽略配置上。。。奇怪了
于是我打算 通过 git add 给它添加回来 。。。
网友说是 在当前目录下多一个 .gitignore 文件 。。。
通过 ls 命令是 看到 这个 .gitignore 文件 的
删除即可。
于是我打算 通过 git add 给它添加回来 。。。
git add Test2.java The following paths are ignored by one of your .gitignore files: src/main/java/com/stylefeng/guns/Test2.java Use -f if you really want to add them. 就出这样的错误了
网友说是 在当前目录下多一个 .gitignore 文件 。。。
通过 ls 命令是 看到 这个 .gitignore 文件 的
删除即可。
相关文章推荐
- Git: The following paths are ignored by one of your .gitignore files: xxx.dll
- Git pull error:Your local changes to the following files would be overwritten by merge解决方法
- git pull 时出现 error: Your local changes to the following files would be overwritten by merge的解决办法
- [Git] error: Your local changes to the following files would be overwritten by merge
- git提示 error: Your local changes to the following files would be overwritten by merge:
- git pull 时出现 error: Your local changes to the following files would be overwritten by merge的解决办法
- git提示 error: Your local changes to the following files would be overwritten by merge:
- Your local changes to the following files would be overwritten by merge: git
- git提示 error: Your local changes to the following files would be overwritten by merge:
- git提示 error: Your local changes to the following files would be overwritten by merge:
- git pull遇到错误:error: Your local changes to the following files would be overwritten by merge:
- Git pull error: Your local changes to the following files would be overwritten by merge:
- git pull 时出现 error: Your local changes to the following files would be overwritten by merge的解决办法
- Git出现error: Your local changes to the following files would be overwritten by merge: ... Please, commit your changes or stash them before you can merge.的问题解决(Git代码冲突)
- git提示 error: Your local changes to the following files would be overwritten by merge:
- Git-命令行-拯救“Your local changes to the following files would be overwritten by checkout”
- Git pull error: Your local changes to the following files would be overwritten by merge:
- git提示 error: Your local changes to the following files would be overwritten by merge:
- git提示 error: Your local changes to the following files would be overwritten by merge:
- [Git] error: Your local changes to the following files would be overwritten by merge