#!/bin/bash # to add repos for redmine, do the following: # git clone --bare git@[server]:[repo] # then add two stanzas here to get updates echo "Running [repo]" cd /path/to/repo.git /usr/bin/git fetch origin '+refs/heads/*:refs/heads/*' -v cd ~