Function findGitRoot

  • Starting from cwd, uses git rev-parse --show-toplevel to find the root of the git repo. Throws if cwd is not in a Git repository.

    Parameters

    • cwd: string

    Returns string

Generated using TypeDoc