Closed isaacalves closed 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?
wp
I tried git submodule add git://github.com/WordPress/WordPress.git wp, but it throws me the message:
git submodule add git://github.com/WordPress/WordPress.git wp
"'wp' already exists in the index"
Thank you
The submodule is already added, that's why you get this message. To install and update WordPress, use something like git submodule update --recursive.
git submodule update --recursive
:+1: to @swissspidy's answer.
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