Home Guides Glossary

Use Git to Manage Your Site

You can use the version-control software Git with your Managed WordPress account. Unlike most uses of Git (which controls software subversions), Managed WordPress users find Git most useful for creating backups of their Website's content.

Git will not version your Managed WordPress database, nor any of the information in it like your posts.

You can also use Git to develop your Managed WordPress Website locally, but doing so is more advanced and requires additional software like Beanstalk.

To use Git, you need a repository like GitHub or Bitbucket.

To Access Git on Your Managed WordPress Account

  1. Access your Managed WordPress account via SSH (more info).
  2. Run the Git application using the following command:
    git

From this state, you can issue commands through Git as documented on their Website here.

Additional Information

To properly use Git on your Managed WordPress account, you need to create a .gitignore file (more info) stored in your /html directory. The file should contain the following lines of code:

wp-admin/
wp-content/mu-plugins/gd-system-plugin.php
wp-content/mu-plugins/
wp-includes/
wp-*.php
!wp-config.php
index.php
gd-config.php

If you do not create this file, you will experience versioning issues caused by updates to the WordPress core.

Git Alternatives

If you want to use version control software without learning Git, we recommend a plugin called Revisr or Gitium. They offer most of Git's functionality through a GUI, which makes them simpler to use.


Disclaimer

As a courtesy, we provide information about how to use certain third-party products, but we do not endorse or directly support third-party products and we are not responsible for the functions or reliability of such products. Third-party marks and logos are registered trademarks of their respective owners. All rights reserved.

Domain Registration

Pay less for website domain names. Register your own .com, .net or .org for as low as $10.18 per year. We have everything you need to get online with your new domain.

Website Builder

For as little as $3.89 per month you can build your Website online with Website Builder using our easy to use professional templates. Play Video - Demo

Quick Shopping Cart

Build and run your own successful online store in minutes. You're just five easy steps away! Shopping Cart works with Google® and eBay® Play Video

Website Hosting

Everything needed to give your website the high-performance home it deserves.  Protect transactions and secure your customer's data with a SSL Certificate

Copyright © 2005 - 2017. All rights reserved. Privacy Policy