How do I setup git on Windows?
I am very new to the terminologies: g开发者_运维百科it, 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.
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.
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.
精彩评论