• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 639
  • Last Modified:

GIT command

Hi there,
I never used GIT before, and I am trying to get the source code for some project. II was told to use the following commands.  When I do the submodule command, I am getting some syntax errors.  The person gave me these command is not here now.  Can you tell me what could be wrong with the second command(>git submodule --init –recursive).

I tried "git submodule --init --recursive" assuming it was a typo.  But, that did not work either.

>git clone http://git.xyz/applications/graphics.git
After this you must update a few submodules, so issue the following commands:
>cd graphics
>git submodule --init –recursive

0
ambuli
Asked:
ambuli
  • 2
1 Solution
 
jkrCommented:
According to my git docs, shouldn't that be

git submodule init –-recursive

?
0
 
ambuliAuthor Commented:
That also failed.  I did "git submoduleupdate -- init –-recursive and it appears to be working.  But, not sure if that is the command he was actually telling and missed the "update".
0
 
ambuliAuthor Commented:
Thanks for responding JKR.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now