Skip to content

Instantly share code, notes, and snippets.

View gdemarcosSFDC's full-sized avatar
💻
Making it happen

Glen de Marcos gdemarcosSFDC

💻
Making it happen
  • Salesforce
  • West Sacramento
View GitHub Profile
@gdemarcosSFDC
gdemarcosSFDC / git-pull-all
Created June 16, 2025 18:59 — forked from grimzy/git-pull-all
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