I have this Powershell script which iterates through this folder's directories and runs git log.
However I cannot figure out how to get the $author parameter through to the git command.
Param(
[string]$author,
[string]$since
)
Get-ChildItem | ? { $_.PSIsContainer } | % { Push-Location $_.FullName; Write-Host "--" (Get-Location);`
git --no-pager log --author=$author --since='1 friday ago' --until='now' --format='%Cgreen%cr%Creset %s%Creset' --graph --decorate;`
Pop-Location }
$authorargument in quotes.$authoris actually getting thoughgitcommand to see if putting quotes like :--author="$author"