grunt-git icon indicating copy to clipboard operation
grunt-git copied to clipboard

gitcheckout failures don't produce meaningful error message

Open Sequoia opened this issue 12 years ago • 1 comments
trafficstars

[533]$ grunt gitcheckout:ghPages
Running "gitcheckout:ghPages" (gitcheckout) task
Warning: Task "gitcheckout:ghPages" failed. Use --force to continue.
Aborted due to warnings.

What happened???

[534]$ git checkout gh-pages
error: Your local changes to the following files would be overwritten by checkout:
    Gruntfile.js
    package.json
Please, commit your changes or stash them before you can switch branches.
Aborting

ahh... I have uncommitted files. The error message produced by git should be output when the grunt task fails.

Sequoia avatar Sep 26 '13 01:09 Sequoia

Does this still happen with the better-testing branch?

rubenv avatar Nov 12 '13 14:11 rubenv