Skip to content

Instantly share code, notes, and snippets.

@ChaosSteffen
Created November 6, 2009 19:25
Show Gist options
  • Save ChaosSteffen/228202 to your computer and use it in GitHub Desktop.
Save ChaosSteffen/228202 to your computer and use it in GitHub Desktop.
rootserver > mkdir /var/repo
rootserver > cd /var/repo
rootserver > git clone git://github.com/Santino/groovy-hudson.git
rootserver > cd groovy-hudson
rootserver > git remote add mirror [email protected]:groovy-hudson/groovy-hudson.git
rootserver > crontab -e
*/1 * * * * git --git-dir=/var/repo/groovy-hudson/.git/ pull origin master; git --git-dir=/var/repo/groovy-hudson/.git/ push mirror master;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment