Command line nonsense
Nov. 18th, 2015 07:22 pmFind all the branches to master since the versions/1.7 branches were created:
Edit: I needed it the next day. 8~)
(for %H in (repo1 repo2 repo3 etc) do @(echo %H & pushd C:\Users\JBanana\Documents\work\%H & (git checkout versions/1.7 & git pull & git checkout master & git pull & for /f %G in ('git merge-base --fork-point master versions/1.7') do @(git log --merges %G..HEAD > c:\temp\%H_merges.txt)) & popd & echo.)) & echo Finished!I put it here because I might need it again one day, and because it makes me smile ruefully.
Edit: I needed it the next day. 8~)