Simple Git commit rake script
I have been learning a ton of different technologies lately, one set being Ruby, Rails and how to run Rake build scripts. So, since I like to 1) give away free scripts, 2) automate my daily workflow and 3) use my blog to remember things…here is a sample git commit rake script that I created this weekend.
Just drop this script into a RakeFile, put it in your project root, and run “rake commit”.
You will:
- see a git status
- be asked if you want to automatically commit the changes
- if you say yes you will be prompted for a commit message.
