Functions/Get-GitRootDirectory.ps1
Function Get-GitRootDirectory { $root = Get-Location while (!(Test-Path -Path "$root/.git")){ $root = Split-Path -Path $root -Parent } return $root } |
Function Get-GitRootDirectory { $root = Get-Location while (!(Test-Path -Path "$root/.git")){ $root = Split-Path -Path $root -Parent } return $root } |