CODE
clock Last Modified: Sep 20, 2018

Gitium

A WordPress plugin that provides automatic git version control and deployment for your plugins and themes integrated into wp-admin.

What’s its purpose?

Gitium is a WordPress plugin for versioning themes and plugins updates, installs and removals, along with ninja code edits from the WordPress editor. For example, if you modify your plugin from WordPress, you will be able to access all the changes ever made wherever you have access to git. Or if you fix a small bug and push it through git, Gitium will automatically pull and apply the changes you made.

Gitium is designed with sane development environments in mind, allowing staging and production to follow different branches of the same repository. You can also deploy code by simply using git push.

Gitium enables continuous deployment for WordPress, integrating with tools such as Github, Bitbucket or Travis-CI.

How the idea came up

The plugin appeared as a necessity and as a continuation of GitFS. Together, they form a system that makes the life better for git-savvy developers, FTP users and, ninja code-editors.

Features

Easy to setup and use

Install it, insert your git URL, and that’s it!

Preserves the WordPress behavior

This means that, as a site owner, you don’t need to learn anything new. Just use WordPress normally and Gitium will automatically know when you add or remove a plugin or theme, or when you update or change one file from WordPress.

Accountability for the code changes

You can always find out who changed what. Gitium will set the WordPress logged in user as the author of the commits.

Safe code storage

If you have trouble with your site or, for some reason, the code is broken or missing, you don’t have to worry about it, because you can recover your code from git.

Watch it in action

Presented originally at the WordCamp Romania 2014 by Calin Don

How to contribute

Development of gitium happens at http://github.com/PressLabs/gitium

Issues are tracked at http://github.com/PressLabs/gitium/issues

WordPress plugin can be found at https://wordpress.org/plugins/gitium/

You are highly encouraged to contribute with code, tests, documentation or just sharing experience.

License

This project is licensed under the General Public License version 2.0.