Merge pull request '~Added script to update local repository branches with remote repository branches' (#105) from GitAutomation into Development

Merging into development
This commit is contained in:
Chris Glavan 2023-08-24 09:07:14 -04:00
commit dcc49a10e5

1
UpdateBranches.bat Normal file
View File

@ -0,0 +1 @@
start "" "%PROGRAMFILES%\Git\bin\sh.exe" -c "git fetch -p ; git branch -r | awk '{print $1}' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '{print $1}' | xargs --no-run-if-empty git branch -d;"