All GIT patches I create throw fatal: unrecognized input
问题 I'm running Mac OSX 10.9.4 (Mavericks) and have git version 2.8.2. I've tested this with a completely new repo. Here's example. mkdir gitest cd gitest git init echo "monkeyface" > monkey.txt git commit -m "first commit" echo "monkeyface farted" > monkeyfart.txt git add . git diff HEAD > new.patch rm monkeyfart.txt git reset --hard HEAD git apply new.patch --check >fatal: unrecognized input Any ideas what is causing this? Could it be anything in my .gitconfig file? [user] name = myusername