Link to home
Start Free TrialLog in
Avatar of ambuli
ambuliFlag for United States of America

asked on

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

ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ambuli

ASKER

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".
Avatar of ambuli

ASKER

Thanks for responding JKR.