Skip to content

Instantly share code, notes, and snippets.

@mattbanks
Created June 23, 2012 18:20
Show Gist options
  • Save mattbanks/2979288 to your computer and use it in GitHub Desktop.
Save mattbanks/2979288 to your computer and use it in GitHub Desktop.
WordPress as git submodule
cd wpstarter
git init
touch README.md
git submodule add git://github.com/WordPress/WordPress.git wp
cd wp
git fetch --tags
git checkout 3.4
cd ..
git add .
git commit -m 'core files, checkout 3.4'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment