git log and git stash list return : No such file or directory

Posted by Carsten Griesheimer on Super User See other posts from Super User or by Carsten Griesheimer
Published on 2012-11-15T04:09:42Z Indexed on 2012/11/15 5:01 UTC
Read the original article Hit count: 303

Filed under:
|
|

I think I've messed something up. When I try the following commands I always get “: No such file or directory“.

$ git stash list
: No such file or directory
$ git log
: No such file or directory
$ git diff
: No such file or directory

I tried reinstalling git and updated to mountain lion, searched in my .bash_profile and .bashrc, but nothing changed.

I hope you can help me fix it.

There is another problem. I don't know if this is related. For each blank line in my .bash_profile I get a : command not found. I commented them out and was fine.

© Super User or respective owner

Related posts about osx

Related posts about unix