Jason Kim
Jason Kim

Reputation: 19051

git doesn't work. I get "'git' is not recognized as ..."

I am trying to run this line out of http://docs.heroku.com/quickstart

git init

But I get alt text

How do I get around this problem?

Upvotes: 0

Views: 1102

Answers (3)

wizztjh
wizztjh

Reputation: 7041

i will suggest you to use tortoisegit , a git for window. But yet , develop rails in window is suffering , why don't you just dual boot your computer to linux and window ?

Upvotes: 1

zsalzbank
zsalzbank

Reputation: 9857

Make sure you did all the prerequisites on that page.

Did you install git? http://code.google.com/p/msysgit/

If so, make sure the location of the executable is in your PATH variable.

This site may help too: http://kylecordes.com/2008/git-windows-go

Upvotes: 1

Samuel
Samuel

Reputation: 17171

You need to install git on windows first, and then use the GIT bash shell. Here is the site for GIT on windows http://code.google.com/p/msysgit/

Just install that, open GIT Bash, navigate back to that directory and run that command again.

Upvotes: 1

Related Questions