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 site’s content.
You can also use Git to develop your Managed WordPress site 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
- Access your Managed WordPress account via SSH (more info).
- Run the Git application using the following command:git
From this state, you can issue commands through Git as documented on their site (here.)
To help you out, we’ve also created a Git cheatsheet that you can download (here).
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:
If you do not create this file, you will experience versioning issues caused by updates to the WordPress core.
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.
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.