• 【git】获取 .git 目录的绝对路径

    Parameters

    • cwd: string = ...

      工作目录。默认为当前目录

    Returns string