Skip to content

Instantly share code, notes, and snippets.

@brianjgamble
Created January 26, 2011 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianjgamble/797276 to your computer and use it in GitHub Desktop.
Save brianjgamble/797276 to your computer and use it in GitHub Desktop.
Script to svn rebase .git folders
#!/bin/sh
## Iterate over the folders ending with .git and rebase each of them
for f in *.git
do
cd $f
echo "About to rebase $f"
git svn rebase
echo `pwd`
cd ..
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment