rubenv / grunt-git

Git commands for grunt.
MIT License
227 stars 83 forks source link

Error: not found:git Use --force to continue #43

Closed mehmedju closed 10 years ago

mehmedju commented 10 years ago

Hi guys, I have issue when I run grunt taks git clone "Error: not found:git Use --force to continue". I have made next things: First I installed nodejs.After that I ran nodejs command line and installed: npm install -g grunt-cli and npm install

I have two files, gruntfile.js and package.json My task looks so:

module.exports = function(grunt) {

grunt.initConfig({ pkg: grunt.file.readJSON('package.json'),

gitclone: {

        cloneApp: {
            options: {
                repository: 'https://git.assembla.com/ncr-backoffice-and-pos.2.git',
                branch: 'master',
                directory: 'repo'
            }
        }

}

});

grunt.loadNpmTasks('grunt-git'); grunt.registerTask('test', '',['gitclone:cloneApp']);

When I run " grunt test " I get Error: not found:git Use --force to continue

Someone solutions! Tnx

rubenv commented 10 years ago

Do you have git available on the command-line where you run grunt?

mehmedju commented 10 years ago

NO

On Tue, Mar 18, 2014 at 2:09 PM, Ruben Vermeersch notifications@github.comwrote:

Do you have git available on the command-line where you run grunt?

Reply to this email directly or view it on GitHubhttps://github.com/rubenv/grunt-git/issues/43#issuecomment-37930042 .

Mehmed Jusiæ

Software Engineer Product Development

MistralTechnologies | Sarajevo

Milana Preloga 12/3

Bosmal City Center

71000 Sarajevo

Bosnia and Herzegovina

web: mistraltechnologies. http://maestralsolutions.com/ba

mehmedju commented 10 years ago

How I can enable that. Actually, that is the problem :(

On Tue, Mar 18, 2014 at 2:09 PM, Mehmed Jusic < mehmedju@maestralsolutions.com> wrote:

NO

On Tue, Mar 18, 2014 at 2:09 PM, Ruben Vermeersch < notifications@github.com> wrote:

Do you have git available on the command-line where you run grunt?

Reply to this email directly or view it on GitHubhttps://github.com/rubenv/grunt-git/issues/43#issuecomment-37930042 .

Mehmed Jusiæ

Software Engineer Product Development

MistralTechnologies | Sarajevo

Milana Preloga 12/3

Bosmal City Center

71000 Sarajevo

Bosnia and Herzegovina

web: mistraltechnologies. http://maestralsolutions.com/ba

Mehmed Jusiæ

Software Engineer Product Development

MistralTechnologies | Sarajevo

Milana Preloga 12/3

Bosmal City Center

71000 Sarajevo

Bosnia and Herzegovina

web: mistraltechnologies. http://maestralsolutions.com/ba

rubenv commented 10 years ago

I recommend you have a look on the git website or the github help pages:

Those pages should have relevant information for your operating system.

Anyway, this is not a grunt-git bug, closing.