OS X上的GitHub客户端提交失败(“未能添加文件...) [英] GitHub Client on OS X Commit Fail ("Failed to add file ...)
问题描述
我试图在我的Mac OS X Mavericks机器上从我的GitHub客户端提交对代码所做的更改(如往常一样)。我添加了一个新的包到我的项目中(这是一个Laravel项目,我添加了Rocketeer包,还做了一些配置更改)。
:
无法添加文件laravel-master / vendor / anahki
当我在提交列表中取消选中此文件时,它会转到显示此错误的另一个文件。
无法添加文件laravel-master / vendor / illumin
任何想法是怎么回事?我从来没有遇到过这些问题。谢谢。
编辑:
我已将这个范围缩小到两个不被允许提交的文件(这是对于Laravel项目):
以下是我尝试提交这两个文件夹/文件时遇到的错误:
无法添加文件laravel-master / vendor / illuminate / remote /照亮/远程/进行索引。
未能将文件laravel-master / vendor / anahkiasen / rocketeer /添加到索引。
在我的情况中,已经有一个.git目录来自另一个导入的第三方git存储库。我必须删除它,任何工作都很好。
I am trying to commit changes I have made to my code (as usual) from my GitHub client on my Mac OS X Mavericks machine. I added a new package to my project (it's a Laravel project, and I added the package Rocketeer. I also made a few config changes).
I am getting the error:
Failed to add file laravel-master/vendor/anahki
When I uncheck this file in the commit list, it then goes to another file showing this error.
Failed to add file laravel-master/vendor/illumin
Any idea what is going on? I have never run into these issues. Thank you.
EDIT:
I have narrowed this down to two files that are not being allowed to commit (this is for a Laravel project):
These are the errors I get when I try to commit these two folders/files:
Failed to add file laravel-master/vendor/illuminate/remote/Illuminate/Remote/ to index.
Failed to add file laravel-master/vendor/anahkiasen/rocketeer/ to index.
In my case, there was already a .git directory from another imported third-party git repository. I had to removed it, anything worked well.
这篇关于OS X上的GitHub客户端提交失败(“未能添加文件...)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!