Skip to content

Instantly share code, notes, and snippets.

View AleBles's full-sized avatar

Ale Bles AleBles

View GitHub Profile
@wojciak
wojciak / git-submod-checkout-prior-1.8.2
Created September 4, 2014 07:51
Git branch submodules prior to git 1.8.2
git submodule foreach -q --recursive 'branch="$(git config -f $toplevel/.gitmodules submodule.$name.branch)" && git checkout $branch'