grunt-git
grunt-git copied to clipboard
-C option
Hi guys! I've forked the task and added the -C option in order to make this work properly in my build process. I would like to know if this is something that you would like to include on your version. In this case, I can finish it and send a pull request.
Cheers!
Which task are you referring to? What does -C
do?
Sorry about the delay. Currently im implementing the -C in the push & commit tasks, but it could be added to a couple more tasks.
The idea of the -C is to excecute the task in another directory rather than the current one. A good example would be "git -C package push origin master ", pushing the repo thats inside "package" folder
How does this relate to the grunt cwd
option?
I guess they output the same thing
It is true that they do the same thing. However, I am in support of merging this, as the -C
option more closely resembles the git CLI API, as per #44.
However, I am in support of merging this, as the -C option more closely resembles the git CLI API, as per #44.
:+1: