Y
Hacker News
new
|
ask
|
show
|
jobs
by
bencoveney
2667 days ago
Git has a mechanism for getting the root repo directory - `git rev-parse --show-toplevel`
1 comments
wincent
2667 days ago
True. I guess I wanted to avoid shelling out, but it probably wouldn't hurt.
link