Skip to content

Instantly share code, notes, and snippets.

@cbowns
Forked from defunkt/backup.rb
Created May 7, 2009 20:05
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 cbowns/108320 to your computer and use it in GitHub Desktop.
Save cbowns/108320 to your computer and use it in GitHub Desktop.
# first you'll want to create a gist then `git clone` the private url
# second you'll want to run this script in the gist's directory
loop do
`git commit -a -m save && git push origin master`
sleep 60 * 4
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment