Closed pghalliday closed 10 years ago
I chose remove for the option name instead of delete as delete is a keyword and although probably fine, gets highlighted as such in editors
Having delete as a key is perfectly valid, but I see the concern. I'd like to have commands map 1:1 with the git options, but I'll allow it here. Good patch.
Released to NPM as 0.2.15
.
Thanks a lot!
Cool, thanks :)
It would be nice if I could delete tags. Currently I have a release process that reads the version number from a version.json file and automatically creates the tag locally and then pushes it:
These 2 commands can be achieved currently with
grunt-git
Occasionally I make a mistake and would like to undo this :o
The second command I can do with
gitpush
but the first I cannot do withgittag
. I tried setting thetag
option to-d releases/x.y.z
but this displeases the spawn call (I don't know why).This pull request adds a
remove
option togittag
to add the-d
to theargs
array.I chose
remove
for the option name instead ofdelete
asdelete
is a keyword and although probably fine, gets highlighted as such in editors