Skip to content

Instantly share code, notes, and snippets.

View laedanrex's full-sized avatar
🐲
Friendly fire isn't.

Alexandre Paris laedanrex

🐲
Friendly fire isn't.
View GitHub Profile
@scottgulliver
scottgulliver / checkout_branches.ps1
Created January 31, 2018 12:03
Powershell script to checkout all remote git branches
git branch -r | Select-String -Pattern "->" -NotMatch | Select-String -pattern "^ origin/" | foreach { $_ -replace '^ origin/', '' } | Foreach { git checkout $_ }