Git – ‘You don’t exist, go away’ – what does this heroku error mean

githeroku

So i'm pushing my code like usual and:

git push heroku master
You don't exist, go away!
fatal: The remote end hung up unexpectedly

Does anyone know what this is supposed to mean?

Best Answer

If you're pushing from OS X then it's probably this funky state OS X gets into where your user doesn't know its own identity -- you can confirm by typing the "id" command where you'll see your username is missing, or trying to sudo which won't work.

For some reason this seems to fix it:

dscacheutil -flushcache