3 lines
186 B
PowerShell
3 lines
186 B
PowerShell
|
$local:workTree = git worktree list --porcelain | Select-String worktree | ForEach-Object { $_ -split 'worktree ' } | Where-Object { $_ }
|
||
|
Edit-TextFile $(Join-Path $workTree .gitignore)
|