#!/bin/bash set -e # Ensure we are getting the branches and tags should some # tests rely on them. For example release upgrade test suites. git fetch -v origin +refs/heads/\*:refs/remotes/origin/\* +refs/tags/\*:refs/tags/\*