rubenv / grunt-git

Git commands for grunt.
MIT License
227 stars 83 forks source link

Add ‘cache’ option to gitrm task #128

Open rafegoldberg opened 7 years ago

rafegoldberg commented 7 years ago

use case:

i have a blank JSON config file for user credentials, and a task that lets them update each entry on postinstall. once they've added passwords to this file I don't want them to accidentally push it. so it'd be useful to rm --cache it out of gits working tree, without deleting it from the actual filesystem.

but possibly I am just misunderstanding how to use this task?