Skip to content

Instantly share code, notes, and snippets.

View Music for

Music for working, programming, reading, …

…sleeping, meditating, yoga, after hour…. Mostly ambient, drone, (neo-)classical, dub, minimal techno, deep house, micro house, downtempo, slo-mo house, ketapop, schneckno, jetlagdisco, post-rock, lowfi hip hop…

Moved to

Please feel free to comment your recommendations.

brendandawes / Terminal:git:exportbranches
Last active Dec 6, 2017
Export branches. Replace <outputDirectory> with the path to where you want to export the branches.
View Terminal:git:exportbranches
for branch in $(git for-each-ref --format='%(refname:short)' refs/heads);
do git archive --format zip --output <outputDirectory>/${branch}.zip $branch;