You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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-generate
This 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.