Created
September 19, 2016 16:46
-
-
Save skylerto/20483284d5cd086a6742c744b1977d4b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env ruby | |
num_secs = 15 * 60 | |
message = "AUTO COMMIT" | |
while true | |
sleep(num_secs) | |
puts "executing auto-commit" | |
commit = %(git commit -vm #{message}) | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment