Checkout files from git index.
Maybe you want use code quality tools(such as jshint, jscs) check your code before git-commit. Use this tool checkout all files in git-index to a directory...
This plugin requires Grunt
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-checkout-index --save-dev
Run this task with the
grunt checkoutIndex command.
Task targets, files and options may be specified according to the grunt Configuring tasks guide.
You should give this option to point where to save your files.
Clean the target directory before checkout files.