Skip to content

Instantly share code, notes, and snippets.

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