I am trying to call git log
while I'm in a different directory. I pass the location where the .git
is
git log /Users/Leica/proj1
but it says "not a git repo". If I cd
into this directory, it works fine
cd /Users/Leica/Proj1
git log
Which is not clear to me. The git log
documentation says
git log [[--] <path>…]
So what am I doing wrong?