Is there a way to get to the git root directory in one command?
Posted
by wojo
on Stack Overflow
See other posts from Stack Overflow
or by wojo
Published on 2009-06-05T20:15:26Z
Indexed on
2010/06/09
19:52 UTC
Read the original article
Hit count: 210
Mercurial has a way of getting to the root directory (that contains .hg) via
hg root
Is there something equivalent in git to get to the directory that contains the .git directory?
© Stack Overflow or respective owner