markjaquith / feedback

Ask @markjaquith anything!
42 stars 4 forks source link

Installing WordPress submodule #44

Closed isaacalves closed 9 years ago

isaacalves commented 9 years ago

Hey Mark, this is probably a ridiculous question but I can't find an answer.

How do you install the WordPress submodule to your repo? Should I install inside the wp empty folder?

I tried git submodule add git://github.com/WordPress/WordPress.git wp, but it throws me the message:

"'wp' already exists in the index"

Thank you

swissspidy commented 9 years ago

The submodule is already added, that's why you get this message. To install and update WordPress, use something like git submodule update --recursive.

markjaquith commented 9 years ago

:+1: to @swissspidy's answer.