Deploying to wordpress from git

If you are using git and are writing plugins for wordpress, its a hassle to switch between the 2 SCM. Why not commit once and deploy to 2 places? that is what many people are trying to do.

this script does exactly that:

Create a plugin first. I suggest using all lowercase, eg blarblar-blarblar-blarblar. create a repo for it in github. git clone that plugin in your plugins folder. Make all changes.

Create the version number in the readme and plugin master file.

copy the into the wp-content/plugins folder, one level above your plugin. then run:


you will be prompted to enter the name of the plugin and everything should work.

Like it.? Share it:
Tags: ,

Comments are closed.