Created
January 2, 2018 16:08
-
-
Save scottymeyers/7261de0fb613b58b34c451a856b221a7 to your computer and use it in GitHub Desktop.
Setup Wordpress as GIT Submodule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git submodule add git://github.com/WordPress/WordPress.git wordpress | |
git commit -m 'Add WordPress submodule' | |
cd wordpress | |
git tag # list tags | |
git checkout 4.2.2 # checkout latest version | |
cd .. | |
git add wordpress # stage updates | |
git commit -m 'Checkout latest WordPress version' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment