Skip to content

Report Root Directory of Current Git Repo

This can be achieved with the following command:

git rev-parse --show-toplevel