Skip to content

Instantly share code, notes, and snippets.

@quickredfox
Forked from defunkt/backup.rb
Created May 7, 2009 17:36
Show Gist options
  • Save quickredfox/108219 to your computer and use it in GitHub Desktop.
Save quickredfox/108219 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