Giter Site home page Giter Site logo

-C option about grunt-git HOT 6 OPEN

matiasdecarli avatar matiasdecarli commented on August 20, 2024
-C option

from grunt-git.

Comments (6)

rubenv avatar rubenv commented on August 20, 2024

Which task are you referring to? What does -C do?

from grunt-git.

matiasdecarli avatar matiasdecarli commented on August 20, 2024

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

from grunt-git.

rubenv avatar rubenv commented on August 20, 2024

How does this relate to the grunt cwd option?

from grunt-git.

matiasdecarli avatar matiasdecarli commented on August 20, 2024

I guess they output the same thing

from grunt-git.

dylancwood avatar dylancwood commented on August 20, 2024

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.

from grunt-git.

rubenv avatar rubenv commented on August 20, 2024

However, I am in support of merging this, as the -C option more closely resembles the git CLI API, as per #44.

πŸ‘

from grunt-git.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.