git log and git stash list return : No such file or directory
- by Carsten Griesheimer
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.