2

I am very new to the terminologies: git, repository and cloning.
I was able to search them all online and get pretty good grip on each (pretty simple stuff!). But what I am trying to figure out now is how to "run" these instructions:

Clone repository for app:

git clone git://github.com/SampleLink.git

Update submodules:

git submodule update --init

I am running Windows7. I tried to run init through command prompt, but no luck.
Are these supposed to be run as individual commands or as one following the other in sequence automatically?
I am just not sure how to run these on my Windows machine and cannot seem to get any of it to work.

The submodule is a file within the initial repository.

I'm sorry if this is a lame question, but I have never needed to run this type of setup before.

idbrii
  • 9,440
  • 5
  • 50
  • 93
OldWest
  • 2,199
  • 5
  • 39
  • 58

1 Answers1

2

I would recommend installing msysgit in its "Git for Windows" instance:
Git-1.7.3.1-preview20101002.exe

I like using Option 2, only adding the git\bin directory to the PATH environment variable, but without overriding some built-in windows tools.

From there, git clone over http should work.

Community
  • 1
  • 1
VonC
  • 1,042,979
  • 435
  • 3,649
  • 4,283
  • VonC, thanks for the detailed note on setup. I was able to get everything up and running and run git for the purposes above. – OldWest Jan 25 '11 at 17:34