Skip to content

Instantly share code, notes, and snippets.

View filipekiss's full-sized avatar
🚀

F. Kiss filipekiss

🚀
  • Amsterdam, NL
  • 18:18 (UTC +02:00)
View GitHub Profile
@filipekiss
filipekiss / fetcher.sh
Created July 19, 2012 20:19 — forked from tamtamchik/fetcher.sh
Fetch all branches & tags from remote git repository.
#!/bin/bash
for branch in `git branch -r | grep -v HEAD | grep -v master`; do
echo ${branch##*/} $branch
done
echo "Fetching..."
git fetch --all
echo "Pulling..."
git pull -v
echo "Results: Branches"
git branch -a