-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Cannot "brew update" anymore - fails to git pull formulas #11448
Comments
I tried asking the doctor but he was not happy. Where do I even begin?
|
Oh, and here is the brew env & config:
|
Solved by running:
|
MPV - Awesome solution. |
MVP clap clap ! |
@MPV worked nicely. Thanks :-) |
Some kind of 'brew update --force' would be very helpful. It would perform exactly this code. |
Agreed @alcarvalho ... the non-existant 'brew update --force' is exactly what I tried before googling. Thanks for the tip @MPV! |
@MPV It works! thank you :-) |
THANK YOU MPV! I have been trying to resolve this for days now! |
Awesome |
Yeah that did the trick. Awesome! Thanks for posting the solution. |
thanks @MPV !!!!! |
Thanks - worked also for me. :-) |
Perfect, thanks @MPV! |
Thank you!!! |
Very nice solution! On a side note, I only had to do the following as my origin was already set correctly.
I only mention this for posterity sake. For those of you who do not know this, you can check to see what your origin is currently set to with the following:
Or simply look in your That said, it is just as easy to simply use the command from @MPV that I left out ( |
@MPV Thanks! Works like a charm! |
Whilst the solution works, it's not a fix for the cause of the issue. So this continues to happen. Brew changes it's formula files locally for some reason. The command gives up, surely it could just do this internally without user having to return to this thread everytime. |
Thank you for clearing this up. |
Thanks MPV, awesome solution |
Thanks MPV |
thanks @MPV! |
fantastic! |
nice |
Another +1. Thanks @MPV! |
Thanks @mvp. Worked perfectly... |
Great! Thanks a lot! |
Thanks ! :) |
Setting `* text=auto`... > ... ensures that all files that Git considers to be text will have normalized > (LF) line endings in the repository > -- [gitattributes(5)][5] This should prevent issues such as those discussed in Homebrew#11448 from cropping up. See also [h5bp/html5-boilerplate#7f31896][h5bp]. [5]: http://git-scm.com/docs/gitattributes [h5bp]: h5bp/html5-boilerplate@7f31896#commitcomment-525963
Thanks :) |
Works! Thank you so much. |
👍 |
thanks @mvp! |
Thanks! |
thanks MPV! |
Thanks! |
Lifesaver. Thanks! |
same here thanks!!! |
thanks |
Thanks @MPV! Champion of my hour! |
2 years later and this still saves me @MPV! |
@MPV - SWEET THANKS 💃 |
@MPV nice, it helped me out! |
also just:
|
@MPV...BIG thanks !!! |
Hi, I am getting a message Scenario: i transferred my apps from mac Air to mac Pro using migration utility. then when i started getting some issue with homebrew, I uninstalled and reinstalled homebrew on my mac. every thing else seems to be good and working now but these brew update issue is stopping me from lot other things. can someone help? |
@ajubayer |
@MPV saved my day |
perfect |
@MPV worked for me |
Thanks for the fix. I needed it even today on OSX 10.9. I even had to |
If you had to use |
Whilst this solution was awesome and worked for me too, I can't help but wonder how my homebrew got into modified state in the first place. I certainly didn't make the changes |
Longest. Running. Issue. Thread. Ever. |
@MPV thanks! |
EDIT: The TLDR solution:
The story behind it:
Hi,
Recently I started getting this output when I run "brew update".
I can't recall having done anything special that would affect my homebrew installation.
The text was updated successfully, but these errors were encountered: