Skip to content

Instantly share code, notes, and snippets.

@jezdez
Created November 3, 2008 18:40
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 jezdez/21940 to your computer and use it in GitHub Desktop.
Save jezdez/21940 to your computer and use it in GitHub Desktop.
#!/bin/sh
# create by using git svn clone -s --prefix=svn/ <URL-TO-REPO>
for i in ~/public_html/*
do
( cd $i ; echo $i ; git svn rebase ; git gc --auto ; git-update-server-info )
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment