grunt-git
grunt-git copied to clipboard
How to reset a specific file?
I've used the files configurations to include only the files I want to reset, but still resets all the modified files. Is this supported?
Same request here.
up! same here
gitreset: {
layoutManager:{
options: {
mode:'hard',
commit: 'HEAD~1'
},
files: {
src: '<%= yeoman.app %>/scripts/managers/layoutManager.js'
}
}
},
Resets everything... and gitcheckout does not support files
+1
I'm using grunt-asset-fingerprint to tag some files when packaging for deployment...this involves changing references to those files within other files.
However, I don't want to check in the changed references...so I'd like to be able to reset individual files using grunt.