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 Access Git on Your Managed WordPress Account
- Access your Managed WordPress account via SSH (more info).
- Run the Git application using the following command:
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.
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.