Grabbing git log from other folder

Posted by jmccartie on Stack Overflow See other posts from Stack Overflow or by jmccartie
Published on 2010-04-29T21:56:15Z Indexed on 2010/04/29 21:57 UTC
Read the original article Hit count: 324

Filed under:

I'm trying to output a git log from another folder on the server without having to cd into it first.

git log /path/to/repo

returns

fatal: Not a git repository

For the life of me, I can't find the switch to tell it to operate on/in a different path than .

Thanks.

© Stack Overflow or respective owner

Related posts about git