#!/bin/bash
# Fetch all your repos that have a remote

cd $HOME

find . -type d -name '*.git' | while read -r repo; do
	echo "$repo"
	pushd "$repo" >/dev/null
	git -c credential.interactive=false fetch --all
	git update-server-info
	popd >/dev/null
done
