-
Notifications
You must be signed in to change notification settings - Fork 7
Quick start
Foad Yousefi edited this page Feb 28, 2018
·
6 revisions
Take over FTP WP project and make it git ready with one command.
After you installed package (wp package install front/wp-cli-build), in the root of your Wordpress instance, run
wp build-generateThis will generate two files:
- .gitignore (ignore everything, then exclude custom theme/plugins from being ignored).
- build.yml (contains plugin/theme name and versions + WP core version and instance lang).
After generating build file, you can commit them to github or simply use build.yml file to control versions across all site instances and team members.