Skip to content

Instantly share code, notes, and snippets.

View ssiva13's full-sized avatar
🌐
Working from home

Simon Siva ssiva13

🌐
Working from home
View GitHub Profile
@grimzy
grimzy / git-pull-all
Created September 15, 2017 02:15
Git pull all remote branches
#!/usr/bin/env bash
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all