Skip to content

Instantly share code, notes, and snippets.

@jjulian
Created July 7, 2009 14:52
Show Gist options
  • Save jjulian/142125 to your computer and use it in GitHub Desktop.
Save jjulian/142125 to your computer and use it in GitHub Desktop.
Use with 'rake time' to mark the beginning of your work day
# save to script/work in a rails project
# run it once, you will get an error 'script/work.tracker' did not match any file(s) known to git
# run git add script/work.tracker, and you are ready to go
# script/work at the beginning of the day to log a commit that says "I've begun working"
# use with the time tracker rake task: http://gist.github.com/141886
date "+%s" > script/work.tracker
git commit script/work.tracker -m "!!!starting work!!!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment