A small utility script for powershell that updates all git repos in a directory.
Drop the script in your main git repo directory and then run it.
- Switches to master branch if not currently checked out
- Switches back to previous branch if a switch to master was made
- Pulls on master, and prunes remote references no longer present on the remote repository.
- Assumes primary branch name is 'master'
- Doesn't work if there are uncommitted changes