Title: Tracking Theme Only
Last modified: August 21, 2016

---

# Tracking Theme Only

 *  Resolved [nickiaq](https://wordpress.org/support/users/nickiaq/)
 * (@nickiaq)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/tracking-theme-only/)
 * Hi there,
 * Coming here from [this Reddit thread](http://www.reddit.com/r/WordpressPlugins/comments/29a82v/revisr_git_management_for_wordpress/ciiyxfn).
 * I am wondering why you went for tracking the entire WordPress install? Are you
   considering adding an option to only track a given theme?
 * I understand the idea is docker-esque, where you are tracking the a larger amount
   of the environment and are able to just switch branches, revert, etc if something
   goes wrong or you are developing.
 * But, I don’t really hack at the core files and use a plugin to install other 
   plugin dependencies and ensure that they stay installed (plugin-inception, right?).
 * Is there something I’m missing?
 * Best, niaq
 * [https://wordpress.org/plugins/revisr/](https://wordpress.org/plugins/revisr/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Expanded Fronts](https://wordpress.org/support/users/expandedfronts/)
 * (@expandedfronts)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/tracking-theme-only/#post-5049491)
 * Hello,
 * We decided to allow the entire repository to be tracked to allow for complete
   backups & restore points of a website if so desired.
 * Another major benefit is that you could perform a major core/plugin upgrade on
   a new branch without affecting the main branch/production website. Since Revisr
   allows you to optionally keep a separate version of each branch, you could test
   out a core upgrade on a new branch and switch back if it causes any issues, and
   not have to worry about the differences in the database.
 * However, you have the ability to add files or entire directories to the gitignore
   through the plugin settings page.
 * This way, if you want to track the entire repository, or just themes/plugins,
   you can.
 * As mentioned in [this](http://wordpress.org/support/topic/wp-config-security?replies=11)
   thread, you could use something like the following to only track your `themes`
   directory:
 *     ```
       /*
       /*/
       !/wp-content/themes/
       ```
   
 * I’m marking this as resolved since it has been discussed and it is not required
   to track the entire repository, only that the parent WordPress installation is
   installed in one.
 * Please feel free to post any follow up comments/questions to this thread and 
   I’ll be glad to address them.
 * Thank you.
 *  Plugin Author [Expanded Fronts](https://wordpress.org/support/users/expandedfronts/)
 * (@expandedfronts)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/tracking-theme-only/#post-5049492)
 * Sorry, to clarify on this:
 * > Since Revisr allows you to optionally keep a separate version of each branch…
 * I meant to say that Revisr allows you to keep a separate version of the files
   _and_ the database for each branch in Git.
 * Or you can just track files. Ultimately, it’s however you want to use it and 
   I look forward to seeing new/different implementations.
 *  Thread Starter [nickiaq](https://wordpress.org/support/users/nickiaq/)
 * (@nickiaq)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/tracking-theme-only/#post-5049497)
 * Thank you for the detailed answer so quickly. I did not realize that Revisr tracks
   the database as well. That is mighty useful.
 * Thank you also for developing this great plugin!
 *  Thread Starter [nickiaq](https://wordpress.org/support/users/nickiaq/)
 * (@nickiaq)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/tracking-theme-only/#post-5049498)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Tracking Theme Only’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/revisr_ecf0f1.svg)
 * [Revisr](https://wordpress.org/plugins/revisr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/revisr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/revisr/)
 * [Active Topics](https://wordpress.org/support/plugin/revisr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/revisr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/revisr/reviews/)

## Tags

 * [git](https://wordpress.org/support/topic-tag/git/)
 * [theme development](https://wordpress.org/support/topic-tag/theme-development/)
 * [version control](https://wordpress.org/support/topic-tag/version-control/)

 * 4 replies
 * 2 participants
 * Last reply from: [nickiaq](https://wordpress.org/support/users/nickiaq/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/tracking-theme-only/#post-5049498)
 * Status: resolved