-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while running git #105
Comments
The error is saying that a include file could not be found / read. Can you verify if this file exists, is readable and does not contain an error? |
The file ~/.gitcinclude was not existed so (now) I've created it with empty content but still the same error. |
Can't you just remove the lines of the gitconfig.default? |
I've got the same issue on OS X 10.11.3 and Git 1.7.9.5. Removing the lines causes an other error:
|
Found a workaround by changing the following in 'gitconfig': Under core change: Under include change: I created the ~/.gitcinclude-folder manually. Seems to work for now. |
So it is a GIT configuration issue? |
Since this is a GIT issue, I will close this ticket for now. Additional information is always welcome! |
If anyone has found a definitive solution to this problem or opened a ticket on brew to fix this could you please share it here? |
The problem is due to git running as a user without a home directory. sed -i.bak '\#~/#d' /usr/local/git/etc/gitconfig It will remove the lines that require the home directory from the global git config file. As far as I can see, there is no open ticket in brew at the moment. |
I seem to have a similar issue. Whenever i try to create a Git branch, this is what it tells me: fatal: failed to expand user dir in: '~.gitignore_global' Does anyone know what i have to do to undo this? |
In my case it was caused by running |
I'm not sure if it's grumphp error but just after installation ( composer require phpro/grumphp ) I get this error on each commit:
I've got grumphp 0.7.2 running on osx and my git config looks like this -> https://github.com/timcharper/git_osx_installer/blob/master/assets/etc/gitconfig.default
The text was updated successfully, but these errors were encountered: