Windows for loop through dirs, run git pull?
This works for me in a batch file in CMD:
for /d %%i in (*.*) do cd %%i & git pull & cd..
(Thank you for all great tips I get on this site!)
Couldn't this be a simple one-liner in Powershell?
Example:
Resolve-Path D:\work\repos\*\.git | foreach { cd $_; git pull }